brooklyn.entity.basic
[Java] Class MethodEffector
java.lang.Object
brooklyn.entity.basic.AbstractEffector
brooklyn.entity.basic.MethodEffector
public class MethodEffector
extends AbstractEffector
concrete class for providing an Effector implementation that gets its information from annotations on a method;
see Effector*Test for usage example
Method Summary |
java.lang.Object
|
MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName)
Defines a new effector whose details are supplied as annotations on the given type and method name
|
java.lang.Object
|
MethodEffector(org.codehaus.groovy.runtime.MethodClosure mc)
|
protected java.lang.Object
|
MethodEffector(MethodEffector.AnnotationsOnMethod anns, java.lang.String description)
|
java.lang.Object
|
call(Entity entity, java.util.Map parameters)
|
Methods inherited from class AbstractEffector
|
call, call, call, equals, getDescription, getName, getParameters, getReturnType, getReturnTypeName, hashCode, toString |
MethodEffector
public java.lang.Object MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName)
- Defines a new effector whose details are supplied as annotations on the given type and method name
MethodEffector
public java.lang.Object MethodEffector(org.codehaus.groovy.runtime.MethodClosure mc)
-
MethodEffector
protected java.lang.Object MethodEffector(MethodEffector.AnnotationsOnMethod anns, java.lang.String description)
-
call
public java.lang.Object call(Entity entity, java.util.Map parameters)
-
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.