|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceInterface
Field Summary | |
---|---|
static int |
WAIT_TO_DIE_TIME
Time to wait for queues to clear before giving up (1 min) |
Method Summary | |
---|---|
void |
checkState()
|
void |
die()
|
void |
dieNow()
|
java.util.Collection<ConnectionPoolStats> |
getConnectionPoolStats()
Returns a list of ConnectionPoolStat objects for the specific ConnectorBinding service If there are no ConnectionPoolStats, null is returned. |
int |
getCurrentState()
|
java.lang.String |
getHostname()
Determine which host the service instance is running on. |
ServiceID |
getID()
|
java.lang.Throwable |
getInitException()
|
java.lang.String |
getProcessName()
Get process name on which this service is running on |
java.util.Properties |
getProperties()
Retreive the properties object used to initialize the service. |
java.util.Collection |
getQueueStatistics()
Returns a list of QueueStats objects that represent the queues in this service. |
WorkerPoolStats |
getQueueStatistics(java.lang.String name)
Returns a QueueStats object that represent the queue in this service. |
ServiceData |
getServiceData()
|
java.lang.String |
getServiceType()
Get service type |
java.util.Date |
getStartTime()
Get the time that the service was initialized. |
java.util.Date |
getStateChangeTime()
|
void |
init(ServiceID id,
DeployedComponentID deployedComponentID,
java.util.Properties props,
ClientServiceRegistry listenerRegistry,
ClassLoaderManager clManager)
Instruct the service to initialize and begin processing.The service must notify any lifecycle listeners of its initialization using the unique service instance name returned. |
boolean |
isAlive()
Determine if the service is alive and well. |
void |
setInitException(java.lang.Throwable t)
There are reflective based calls on this |
void |
updateState(int state)
There are reflective based calls on this |
Field Detail |
---|
static final int WAIT_TO_DIE_TIME
Method Detail |
---|
void init(ServiceID id, DeployedComponentID deployedComponentID, java.util.Properties props, ClientServiceRegistry listenerRegistry, ClassLoaderManager clManager)
deployedComponentID
- Unique identifier of this deployed component.clManager
- void die()
void dieNow()
void checkState()
java.util.Properties getProperties()
java.util.Date getStartTime()
java.lang.String getHostname()
java.lang.String getProcessName()
boolean isAlive()
java.lang.String getServiceType()
int getCurrentState()
java.util.Date getStateChangeTime()
ServiceID getID()
java.util.Collection getQueueStatistics()
WorkerPoolStats getQueueStatistics(java.lang.String name)
java.util.Collection<ConnectionPoolStats> getConnectionPoolStats()
void setInitException(java.lang.Throwable t)
java.lang.Throwable getInitException()
void updateState(int state)
ServiceData getServiceData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |