org.ow2.cmi.annotation
Annotation Type Cluster


@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Cluster

Indicates that instances of the annotated class are intended to be replicated in a cluster. To specify the way to access to these instances, the annotations Policy, Strategy and Properties must be used.

Author:
The new CMI team

Optional Element Summary
 java.lang.String descriptor
          Filename for a CMI descriptor in order to override (or complete) the description given by annotations.
 boolean isReplicated
          cluster isReplicated
 java.lang.String name
          Name of cluster.
 org.ow2.util.pool.annotation.Pool pool
          Pool attributes.
 boolean proxyEnabled
          True enables the use of CMI proxies for RPC.
 

name

public abstract java.lang.String name
Name of cluster.

Default:
"defaultCluster"

descriptor

public abstract java.lang.String descriptor
Filename for a CMI descriptor in order to override (or complete) the description given by annotations.

Default:
"policy.xml"

proxyEnabled

public abstract boolean proxyEnabled
True enables the use of CMI proxies for RPC.

Default:
true

isReplicated

public abstract boolean isReplicated
cluster isReplicated

Default:
false

pool

public abstract org.ow2.util.pool.annotation.Pool pool
Pool attributes.

Default:
@org.ow2.util.pool.annotation.Pool


Copyright © 2009 OW2 Consortium. All Rights Reserved.