org.jboss.soa.esb.listeners
Interface ListenerManager

All Superinterfaces:
java.util.Observer, java.lang.Runnable

public interface ListenerManager
extends java.lang.Runnable, java.util.Observer

ListenerManager interface.

An implementation of this intervace controls the lifecycle of a set of child listener processes


Field Summary
static java.lang.String PARM_END_TIME
           
static java.lang.String PARM_GATEWAY_CLASS
           
static java.lang.String PARM_LISTENER_CLASS
           
static java.lang.String PARM_RELOAD_SECS
           
static java.text.SimpleDateFormat s_oDateParse
           
 
Method Summary
 boolean continueLooping()
           
 State getState()
           
 long millisToWait()
           
 void register(ConfigTree config, EPR epr)
          Register an EPR in the registry.
 void requestEnd()
           
 void unRegister(java.lang.String serviceCategoryName, java.lang.String serviceName, EPR epr)
          Unregister the EPR from the registry.
 void waitUntilReady()
           
 void waitUntilReady(long maxWaitMillis)
           
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface java.util.Observer
update
 

Field Detail

PARM_RELOAD_SECS

static final java.lang.String PARM_RELOAD_SECS
See Also:
Constant Field Values

PARM_END_TIME

static final java.lang.String PARM_END_TIME
See Also:
Constant Field Values

PARM_GATEWAY_CLASS

static final java.lang.String PARM_GATEWAY_CLASS
See Also:
Constant Field Values

PARM_LISTENER_CLASS

static final java.lang.String PARM_LISTENER_CLASS
See Also:
Constant Field Values

s_oDateParse

static final java.text.SimpleDateFormat s_oDateParse
Method Detail

waitUntilReady

void waitUntilReady()
                    throws java.lang.Exception
Throws:
java.lang.Exception

waitUntilReady

void waitUntilReady(long maxWaitMillis)
                    throws java.lang.Exception
Throws:
java.lang.Exception

requestEnd

void requestEnd()

continueLooping

boolean continueLooping()

millisToWait

long millisToWait()

getState

State getState()

register

void register(ConfigTree config,
              EPR epr)
              throws RegistryException
Register an EPR in the registry.

Parameters:
config - - a config tree containing the deployment-configuration of the service.
epr - - the epr (EndPoint Reference) of the service.
Throws:
RegistryException

unRegister

void unRegister(java.lang.String serviceCategoryName,
                java.lang.String serviceName,
                EPR epr)
                throws RegistryException
Unregister the EPR from the registry.

Parameters:
serviceCategoryName - - name of the category of the service ('Content Based Routing')
serviceName - - name of the service ("
epr -
Throws:
RegistryException