org.apache.imperius.javaspl
Class JavaActuatorImpl
java.lang.Object
org.apache.imperius.javaspl.JavaActuatorImpl
- All Implemented Interfaces:
- Actuator
public class JavaActuatorImpl
- extends java.lang.Object
- implements Actuator
Method Summary |
java.lang.Object |
invokeMethod(java.lang.String className,
java.lang.String qualifier,
java.lang.Object instance,
java.lang.String methodName,
java.util.List arguments)
Invokes the given method on the given instance |
void |
modifyInstance(java.lang.String className,
java.lang.String qualifier,
java.lang.Object instance,
java.util.Map memberMap)
Modifies the given instance with Map of new property values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaActuatorImpl
public JavaActuatorImpl()
JavaActuatorImpl
public JavaActuatorImpl(java.net.URL[] urls)
invokeMethod
public java.lang.Object invokeMethod(java.lang.String className,
java.lang.String qualifier,
java.lang.Object instance,
java.lang.String methodName,
java.util.List arguments)
throws SPLException
- Invokes the given method on the given instance
- Specified by:
invokeMethod
in interface Actuator
- Returns:
-
- Throws:
SPLException
modifyInstance
public void modifyInstance(java.lang.String className,
java.lang.String qualifier,
java.lang.Object instance,
java.util.Map memberMap)
throws SPLException
- Description copied from interface:
Actuator
- Modifies the given instance with Map of new property values
- Specified by:
modifyInstance
in interface Actuator
- Parameters:
className
- : fully qualified name of the class whoose instance is to be modifiedinstance
- : instance to be modifiedmemberMap:
- A map of the form (String member Name -> Object value to be set to)
- Throws:
SPLException