|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.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
Nested Class Summary | |
---|---|
protected static class |
MethodEffector.AnnotationsOnMethod
|
Field Summary |
---|
Fields inherited from class AbstractEffector | |
---|---|
LOG |
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)
|
java.lang.Object
|
MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName, java.lang.String description)
|
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 |
Method Detail |
---|
public java.lang.Object MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName)
public java.lang.Object MethodEffector(org.codehaus.groovy.runtime.MethodClosure mc)
@Deprecated public java.lang.Object MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName, java.lang.String description)
protected java.lang.Object MethodEffector(MethodEffector.AnnotationsOnMethod anns, java.lang.String description)
public java.lang.Object call(Entity entity, java.util.Map parameters)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.