org.ow2.carol.cmi.controller.client
Interface ClientClusterViewManager

All Superinterfaces:
ClusterViewManager

public interface ClientClusterViewManager
extends ClusterViewManager

Interface for a manager of the cluster view at client-side.

Author:
The new CMI team

Method Summary
 byte[] getBytecode(java.lang.String binaryName)
          Returns the bytecode of the class with the given binary name.
 boolean isClusterViewProviderAvailable()
           
 void pullAndupdateObjectInfos(java.lang.String objectName)
          Updates informations about clustering for the object with the given name.
 void updateClusterView()
          Updates informations about clustering for every watched objects.
 
Methods inherited from interface org.ow2.carol.cmi.controller.common.ClusterViewManager
addObjectToWatch, getApplicationExceptionNames, getClusterName, getCMIReferences, getDateOfProperties, getDelayToRefresh, getInitialContextFactoryName, getInterface, getLBPolicy, getLBPolicyClass, getLBPolicyClassName, getLBStrategyClass, getLBStrategyClassName, getLoadFactor, getObjectNames, getPool, getPoolConfiguration, getPropertiesForLBPolicy, getPropertyForLBPolicy, getProtocols, getRemoteClass, getSessionId, getUUID, hasState, isClustered, isPoolToEmpty, isReplicated, setPool
 

Method Detail

getBytecode

byte[] getBytecode(java.lang.String binaryName)
                   throws ClientClusterViewManagerException
Returns the bytecode of the class with the given binary name.

Parameters:
binaryName - a binary name of a class
Returns:
the bytecode of the class with the given binary name
Throws:
ClientClusterViewManagerException - if the bytecode cannot obtained

updateClusterView

void updateClusterView()
                       throws ClientClusterViewManagerException
Updates informations about clustering for every watched objects.

Throws:
ClientClusterViewManagerException - if the update failed

pullAndupdateObjectInfos

void pullAndupdateObjectInfos(java.lang.String objectName)
                              throws ObjectNotFoundException,
                                     ClientClusterViewManagerException
Updates informations about clustering for the object with the given name.

Parameters:
objectName - a name of object
Throws:
ObjectNotFoundException - if no object is bound with the given name
ClientClusterViewManagerException - if the update failed

isClusterViewProviderAvailable

boolean isClusterViewProviderAvailable()
Returns:
true if the cluster view provider is available


Copyright © 2008 OW2 Consortium. All Rights Reserved.