|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.cmi.info.ClusteredObjectInfo
@NotThreadSafe public final class ClusteredObjectInfo
Contain informations on a clustered object.
which creates instances of this| Constructor Summary | |
|---|---|
ClusteredObjectInfo(java.lang.Class<?> itfClass,
java.lang.Class<? extends javax.ejb.EJBObject> businessClass,
java.lang.String clusterName,
boolean proxyEnabled,
org.ow2.util.pool.api.IPoolConfiguration poolConfiguration,
java.lang.Class<? extends IPolicy<?>> policyType,
java.lang.Class<? extends IStrategy<?>> strategyType,
java.util.Map<java.lang.String,java.lang.Object> properties,
boolean stateful,
boolean replicated,
java.util.Set<java.lang.String> applicationExceptionNames)
Constructs informations for a clustered object with the default strategy for the given LB policy. |
|
ClusteredObjectInfo(java.lang.Class<?> itfClass,
java.lang.String clusterName)
Construct informations for a very basic clustered object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
java.util.Set<java.lang.String> |
getApplicationExceptionNames()
|
java.lang.Class<? extends javax.ejb.EJBObject> |
getBusinessClass()
|
java.lang.String |
getClusterName()
|
java.lang.Class<?> |
getItfClass()
|
java.lang.Class<? extends IPolicy<?>> |
getPolicyType()
|
org.ow2.util.pool.api.IPoolConfiguration |
getPoolConfiguration()
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
java.lang.Class<? extends IStrategy<?>> |
getStrategyType()
|
int |
hashCode()
|
boolean |
hasState()
Return true if this object has a state |
boolean |
isProxyEnabled()
|
boolean |
isReplicated()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClusteredObjectInfo(java.lang.Class<?> itfClass,
java.lang.Class<? extends javax.ejb.EJBObject> businessClass,
java.lang.String clusterName,
boolean proxyEnabled,
org.ow2.util.pool.api.IPoolConfiguration poolConfiguration,
java.lang.Class<? extends IPolicy<?>> policyType,
java.lang.Class<? extends IStrategy<?>> strategyType,
java.util.Map<java.lang.String,java.lang.Object> properties,
boolean stateful,
boolean replicated,
java.util.Set<java.lang.String> applicationExceptionNames)
itfClass - interface implemented by the objectbusinessClass - Business interface (only for ejb2)clusterName - a name of clusterproxyEnabled - true if a CMI proxy should be used to make invocationspoolConfiguration - configuration for the pool of CMIReferenceablepolicyType - a type of policy for load-balancingstrategyType - a type of strategy for load-balancingproperties - properties of the policystateful - true if this object has a statereplicated - true if the state of this object is replicated for high-availabilityapplicationExceptionNames - classnames of the application exceptions
public ClusteredObjectInfo(java.lang.Class<?> itfClass,
java.lang.String clusterName)
itfClass - interface implemented by the objectclusterName - a name of cluster| Method Detail |
|---|
public java.lang.String getClusterName()
public boolean isProxyEnabled()
public java.lang.Class<?> getItfClass()
public java.lang.Class<? extends IPolicy<?>> getPolicyType()
public java.lang.Class<? extends IStrategy<?>> getStrategyType()
public java.lang.Class<? extends javax.ejb.EJBObject> getBusinessClass()
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public org.ow2.util.pool.api.IPoolConfiguration getPoolConfiguration()
public boolean hasState()
public boolean isReplicated()
public java.util.Set<java.lang.String> getApplicationExceptionNames()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||