org.ow2.cmi.annotation
Annotation Type Policy


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

Indicates which policy will be used with the instances of the annotated class. If the class is not also also annotated by Cluster, using this annotation has no effect.

Author:
The new CMI team
See Also:
Cluster

Required Element Summary
 java.lang.Class<? extends IPolicy> value
          Type of policy for load-balancing.
 

Element Detail

value

public abstract java.lang.Class<? extends IPolicy> value
Type of policy for load-balancing.



Copyright © 2009 OW2 Consortium. All Rights Reserved.