|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.perseus.distribution.jgroups.JGroupsServiceManager
Field Summary | |
static java.lang.String |
SERIALIZER_BINDING
|
protected java.lang.String |
state
|
Constructor Summary | |
JGroupsServiceManager()
|
Method Summary | |
void |
bindFc(java.lang.String s,
java.lang.Object o)
|
DistResControllerService |
getControllerService(java.lang.Object nodeId)
Returns the controller service of a given local node |
DistResCoordinatorService |
getCoordinatorService(java.lang.Object nodeId)
Returns the coordinator service of a given local node |
boolean |
getDeserializeAtCoordinator()
|
java.lang.String |
getFcState()
|
java.util.Set |
getLocalNodes()
Get the set of existing local nodes |
JGroupsService |
getService(java.lang.Object nodeId)
|
DistResUserService |
getUserService(java.lang.Object nodeId)
Returns the user service of a given local node |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String s)
|
java.io.Serializable |
newLocalNode(DistResCoordinatorFactory drcf)
Creates a new (virtual) node on which resources will be used and managed. |
void |
removeAllLocalNodes()
Removes all existing local nodes. |
void |
removeLocalNode(java.lang.Object nodeId)
Removes a existing local node. |
void |
setDeserializeAtCoordinator(boolean value)
|
void |
startFc()
|
void |
stopFc()
|
void |
stopLocalNode(java.lang.Object nodeId)
|
void |
unbindFc(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERIALIZER_BINDING
protected java.lang.String state
Constructor Detail |
public JGroupsServiceManager()
Method Detail |
public java.lang.String[] listFc()
public java.lang.Object lookupFc(java.lang.String s) throws NoSuchInterfaceException
NoSuchInterfaceException
public void bindFc(java.lang.String s, java.lang.Object o) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
public void unbindFc(java.lang.String s) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
public java.lang.String getFcState()
public void startFc() throws IllegalLifeCycleException
IllegalLifeCycleException
public void stopFc() throws IllegalLifeCycleException
IllegalLifeCycleException
public java.io.Serializable newLocalNode(DistResCoordinatorFactory drcf)
DistResServiceManager
newLocalNode
in interface DistResServiceManager
drcf
- the coordinator factory to use when coordinator creation is
required
public void removeLocalNode(java.lang.Object nodeId)
DistResServiceManager
removeLocalNode
in interface DistResServiceManager
nodeId
- public java.util.Set getLocalNodes()
DistResServiceManager
getLocalNodes
in interface DistResServiceManager
public void stopLocalNode(java.lang.Object nodeId)
public void removeAllLocalNodes()
DistResServiceManager
removeAllLocalNodes
in interface DistResServiceManager
public DistResCoordinatorService getCoordinatorService(java.lang.Object nodeId)
DistResServiceManager
getCoordinatorService
in interface DistResServiceManager
nodeId
- the id of the related local node
public DistResControllerService getControllerService(java.lang.Object nodeId)
DistResServiceManager
getControllerService
in interface DistResServiceManager
nodeId
- the id of the related local node
public DistResUserService getUserService(java.lang.Object nodeId)
DistResServiceManager
getUserService
in interface DistResServiceManager
nodeId
- the id of the related local node
public JGroupsService getService(java.lang.Object nodeId)
public void setDeserializeAtCoordinator(boolean value)
setDeserializeAtCoordinator
in interface DistResServiceManager
public boolean getDeserializeAtCoordinator()
getDeserializeAtCoordinator
in interface DistResServiceManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |