|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jini.rio.associations.AssociationMgmt com.gigaspaces.grid.space.SpaceAssociationManagement
public class SpaceAssociationManagement
The SpaceAssociationManagement class provides customized association handling for a GigaSpaces cluster. GigaSpace cluster association handling is addressed in the following manner:
If the discovered Association is a GigaSpaces service proxy, and the proxy is a clustered proxy, the Asscoiation transitions will be limited to :
org.jini.rio.core.Association.DISCOVERED
will only be sent if the
GigaSpaces cluster has not been discovered. If multiple members of the
cluster are discovered the AssociationListener, including any defined
property injectors, will not be called for each discovered cluster member.
org.jini.rio.core.Association.CHANGED
transition will not be fired.
org.jini.rio.core.Association.BROKEN
will be sent if the
GigaSpaces cluster has been terminated or failed
Additionally, when using an association with the ClassName attribute:
<Association Type="uses" Name="Cache" Property="dataSpace" ClassName="com.j_spaces.core.IJSpace"/>The fault detection handler defaults to
AdminFaultDetectionHandler
(this is
the default processing handled by the Rio parser). If the
association is a GigaSpace, and the fault detection handler is
AdminFaultDetectionHandler
, always
create the GigaSpacesFaultDetectionHandler
with default configuration properties set to:
retryCount=0, invocationDelay=5000This class is created by the
GSContext
class
Nested Class Summary | |
---|---|
class |
SpaceAssociationManagement.SpaceAssociationHandler
The AssociationHandler handle an Association created from AssociationDescriptor. |
Nested classes/interfaces inherited from class org.jini.rio.associations.AssociationMgmt |
---|
org.jini.rio.associations.AssociationMgmt.AssociationHandler |
Constructor Summary | |
---|---|
SpaceAssociationManagement()
Create a SpaceAssociationManagement instance. |
|
SpaceAssociationManagement(java.lang.ClassLoader cl)
Create a SpaceAssociationManagement instance. |
Method Summary | |
---|---|
protected org.jini.rio.associations.AssociationMgmt.AssociationHandler |
createAssociationHandler(org.jini.rio.core.AssociationDescriptor aDesc)
Override parent's createAssociationHandler method and return a SpaceAssociationHandler |
Methods inherited from class org.jini.rio.associations.AssociationMgmt |
---|
addAssociationDescriptor, getAssociatedServices, getAssociationListeners, getAssociations, getAssociations, getAssociations, getServiceName, notifyOnBroken, notifyOnChange, notifyOnDiscovery, register, remove, setBackend, setServiceBeanContainer, setServiceBeanContext, setServiceBeanControl, setUnadvertiseOnBroken, terminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceAssociationManagement()
public SpaceAssociationManagement(java.lang.ClassLoader cl)
cl
- The class loader to provide the caller/client with a properlyMethod Detail |
---|
protected org.jini.rio.associations.AssociationMgmt.AssociationHandler createAssociationHandler(org.jini.rio.core.AssociationDescriptor aDesc)
createAssociationHandler
in class org.jini.rio.associations.AssociationMgmt
aDesc
- The AssociationDescriptor to create a
SpaceAssociationHandler for
java.lang.NullPointerException
- if the AssociationDescriptor is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |