org.jboss.ejb3.annotation
Annotation Type Clustered


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Clustered

Annotation for specifying that a bean should be clustered


Optional Element Summary
 java.lang.String homeLoadBalancePolicy
          The LoadBalancePolicy implementation to use for balancing remote home invocations.
 java.lang.String loadBalancePolicy
          The LoadBalancePolicy implementation to use for balancing remote bean invocations.
 java.lang.String partition
           
 

loadBalancePolicy

public abstract java.lang.String loadBalancePolicy
The LoadBalancePolicy implementation to use for balancing remote bean invocations.

Specifying the LoadBalancePolicy interface itself (which is the default value) means the EJB container should pick a sensible default based on the type of the bean.

Returns:
the class of the LoadBalancePolicy implementation, or, if it is up to the container to choose an appropriate policy, the class of the LoadBalancePolicy interface itself.
Default:
"LoadBalancePolicy"

homeLoadBalancePolicy

public abstract java.lang.String homeLoadBalancePolicy
The LoadBalancePolicy implementation to use for balancing remote home invocations.

Specifying the LoadBalancePolicy interface itself (which is the default value) means the EJB container should pick a sensible default based on the type of the bean.

Returns:
the class of the LoadBalancePolicy implementation, or, if it is up to the container to choose an appropriate policy, the class of the LoadBalancePolicy interface itself.
Default:
"LoadBalancePolicy"

partition

public abstract java.lang.String partition
Default:
"${jboss.partition.name:DefaultPartition}"