Package org.apache.felix.gogo.runtime
Class CommandProxy
- java.lang.Object
-
- org.apache.felix.gogo.runtime.CommandProxy
-
-
Constructor Summary
Constructors Constructor Description CommandProxy(java.lang.Object target, java.lang.String function)
CommandProxy(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference reference, java.lang.String function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute(CommandSession session, java.util.List<java.lang.Object> arguments)
Execute this function and return the result.java.lang.Object
getTarget()
void
ungetTarget()
-
-
-
Method Detail
-
getTarget
public java.lang.Object getTarget()
-
ungetTarget
public void ungetTarget()
-
execute
public java.lang.Object execute(CommandSession session, java.util.List<java.lang.Object> arguments) throws java.lang.Exception
Description copied from interface:Function
Execute this function and return the result.
-
-