org.ow2.carol.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.
 java.lang.String name
          Name of cluster.
 org.ow2.util.pool.annotation.Pool pool
          Pool attributes.
 

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"

pool

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

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


Copyright © 2008 OW2 Consortium. All Rights Reserved.