## org.w3c.jigsaw.admin
Class AdminServer

    java.lang.Object
      |
      +--org.w3c.jigsaw.http.httpd
            |
            +--org.w3c.jigsaw.admin.AdminServer

public class AdminServer
extends httpd

Field Summary
`protected GenericAuthFilter` | `auth`
`protected ResourceBroker` | `broker`
`protected ControlResource` | `controlConfig`
`protected RealmsCatalog` | `realms` The realm catalog
`protected AbstractContainer` | `root`
`protected ResourceReference` | `rr_controlConfig`
`protected ResourceReference` | `rr_realms`
`protected ResourceReference` | `rr_root`
`protected ServerHandlerManager` | `shm`
`protected org.w3c.jigsaw.admin.AdminWriter` | `writer`

Fields inherited from class org.w3c.jigsaw.http.httpd

`CHECKURL_P, CLIENT_BUFSIZE_P, CLIENT_DEBUG_P, CLIENT_FACTORY_P, CLIENT_PRIORITY_P, CONFIG_P, debug, DOCURL_P, EDIT_ROOT_P, FS_SENSITIVITY, host, HOST_P, instances, KEEP_ALIVE_P, KEEP_TIMEOUT_P, LOGGER_P, MAX_LOADED_STORE, MAX_LOADED_STORE_P, port, PORT_P, props, PROPS_P, PUBLIC_P, REQUEST_TIMEOUT_P, root, ROOT_CLASS_P, ROOT_NAME_P, ROOT_P, SERVER_GROUP_P, SERVER_SOFTWARE_P, SERVER_USER_P, SHUFFLER_PATH_P, SPACE_P, thread, timer, TRACE_P, TRASHDIR_P, url, USE_SM_P, verscount, VERSCOUNT_P, version`

Constructor Summary
`AdminServer()`

Method Summary
`protected java.lang.String` | `getBanner()`
`ResourceReference` | `getConfigResource()`
`ResourceReference` | `getControlResource()`
`ResourceReference` | `getRealmCatalogResource()`
`RealmsCatalog` | `getRealmsCatalog()`
`FramedResource` | `getRoot()`
`ResourceReference` | `getRootReference()`
`void` | `initialize(ServerHandlerManager shm, java.lang.String identifier, ObservableProperties props)` Initialize the Server
`protected void` | `initializeAuth()`
`ReplyInterface` | `perform(RequestInterface req)` Perform the request
`Reply` | `remoteListAttributes(Request request)` List the attributes.
`Reply` | `remoteLoadRoot(Request request)` Load the remote Root.

Methods inherited from class org.w3c.jigsaw.http.httpd

`checkFileSystemSensitivity, checkpoint, cleanup, clone, debug, enumeratePropertySet, errlog, errlog, errlog, errlog, fatal, fatal, getAuthDirectory, getClientBufferSize, getClientDebug, getClientKeepConnection, getClientThreadPriority, getConfigDirectory, getConnectionTimeOut, getDefaultContext, getDocumentationURL, getEditRoot, getHost, getIdentifier, getIndexerDirectory, getIndexersCatalog, getInetAddress, getLocalPort, getLogger, getPort, getProperties, getPropertySet, getRequestTimeOut, getResourceSpace, getResourceStoreManager, getRootDirectory, getShuffler, getSoftware, getSpaceDir, getStatistics, getStoreDirectory, getTrashDirectory, getURL, initializeProperties, initializePropertySets, loadResource, loadRoot, log, log, main, propertyChanged, registerPropertySet, restart, run, shutdown, startCheckpoint, trace, trace, usage, warning, warning`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### broker

    protected ResourceBroker broker

### shm

    protected ServerHandlerManager shm

### writer

    protected org.w3c.jigsaw.admin.AdminWriter writer

### root

    protected AbstractContainer root

### rr_root

    protected ResourceReference rr_root

### controlConfig

    protected ControlResource controlConfig

### rr_controlConfig

    protected ResourceReference rr_controlConfig

### auth

    protected GenericAuthFilter auth

### realms

    protected RealmsCatalog realms

  The realm catalog

### rr_realms

    protected ResourceReference rr_realms

Constructor Detail

### AdminServer

    public AdminServer()

Method Detail

### getRealmsCatalog

    public RealmsCatalog getRealmsCatalog()

  Overrides:
    getRealmsCatalog in class httpd

### getBanner

    protected java.lang.String getBanner()

  Overrides:
    getBanner in class httpd

### getConfigResource

    public ResourceReference getConfigResource()

  Overrides:
    getConfigResource in class httpd

### getRealmCatalogResource

    public ResourceReference getRealmCatalogResource()

### getControlResource

    public ResourceReference getControlResource()

### remoteLoadRoot

    public Reply remoteLoadRoot(Request request)
                         throws ProtocolException

  Load the remote Root.
  Parameters:
    `request` - The incomming request.
  Throws:
    ProtocolException - if a protocol error occurs.

### remoteListAttributes

    public Reply remoteListAttributes(Request request)
                               throws ProtocolException

  List the attributes.
  Parameters:
    `request` - The incomming request.
  Throws:
    ProtocolException - if a protocol error occurs.

### perform

    public ReplyInterface perform(RequestInterface req)
                           throws ProtocolException,
                                  ResourceException

  Perform the request
  Parameters:
    `req` - the request.
  Throws:
    ProtocolException - if a protocol error occurs
    ResourceException - if a server error occurs
  Overrides:
    perform in class httpd

### getRoot

    public FramedResource getRoot()

  Overrides:
    getRoot in class httpd

### getRootReference

    public ResourceReference getRootReference()

  Overrides:
    getRootReference in class httpd

### initializeAuth

    protected void initializeAuth()

### initialize

    public void initialize(ServerHandlerManager shm,
                           java.lang.String identifier,
                           ObservableProperties props)
                    throws ServerHandlerInitException

  Initialize the Server
  Throws:
    ServerHandlerInitException - if it can't be initialized
  Overrides:
    initialize in class httpd