|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.core.types.AbsComponent
raccoon.core.types.AbsLoadable
raccoon.tibco.tibrv.utils.TibComponent
public class TibComponent
Abstract convenience class for all components that will handle communications with TIB/Rendezvous.
Field Summary |
---|
Fields inherited from class raccoon.core.types.AbsLoadable |
---|
mIsLoaded |
Fields inherited from class raccoon.core.types.AbsComponent |
---|
mIsInError |
Constructor Summary | |
---|---|
TibComponent()
|
Method Summary | |
---|---|
void |
load()
Invoked by the service manager to start this component once it has been configured. |
static int |
nbSessions()
Computes the number of sessions currently opened to TIB/Rendezvous. |
void |
unload()
Invoked by the service manager to stop this component. |
Methods inherited from class raccoon.core.types.AbsLoadable |
---|
getLog, isInError, isInitialised, isRunning, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TibComponent()
Method Detail |
---|
public void load() throws LoadableException
false
and then set to true
once all the init code has been performed.
load
in interface ILoadable
load
in class AbsLoadable
LoadableException
- if this component isn't initialisable or is already running.public void unload() throws LoadableException
true
and then set to false
once all the init code has been performed.
unload
in interface ILoadable
unload
in class AbsLoadable
LoadableException
- if the composant isn't running or if it isn't an initialisable component.public static int nbSessions() throws RaccoonException
RaccoonException
- if the number of sessions couldn't be accessed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |