gov.virginia.dcjs.ws.client
Class Administrator

java.lang.Object
  extended bygov.virginia.dcjs.ws.client.Administrator
Direct Known Subclasses:
MessageAdministrator, RpcAdministrator

public abstract class Administrator
extends java.lang.Object

Web Service clients extending this class can call the start, stop and reconfigure routines on their corresponding services.


Constructor Summary
Administrator()
           
 
Method Summary
protected  java.lang.String getPassword()
           
protected  java.lang.String getUsername()
           
abstract  boolean reconfigure()
          Request that the Web Service re-obtain any configuration specific information without reloading the context.
abstract  boolean start()
          Brings the service online.
abstract  boolean stop()
          Takes the service offline and/or resets it (clears its state).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Administrator

public Administrator()
Method Detail

getUsername

protected final java.lang.String getUsername()

getPassword

protected final java.lang.String getPassword()

reconfigure

public abstract boolean reconfigure()
Request that the Web Service re-obtain any configuration specific information without reloading the context.

Returns:
True when the attempt to reconfigure the service was made.

start

public abstract boolean start()
Brings the service online.

Returns:
True when the attempt to reconfigure the service was made.

stop

public abstract boolean stop()
Takes the service offline and/or resets it (clears its state).

Returns:
True when the attempt to reconfigure the service was made.