org.ow2.shelbie.core.internal.handler
Class StatelessGogoCommand
java.lang.Object
org.apache.felix.gogo.commands.basic.AbstractCommand
org.ow2.shelbie.core.internal.handler.GogoCommand
org.ow2.shelbie.core.internal.handler.StatelessGogoCommand
- All Implemented Interfaces:
- org.apache.felix.service.command.Function
public class StatelessGogoCommand
- extends GogoCommand
A Stateless Command is a command whose Action does not keep state in the instance.
Just like EJB stateless beans, any instance of the action can be used to execute a request.
That means that if the user perform multiple invocation of the same command,
a new instance will be created for each execution.
|
Constructor Summary |
StatelessGogoCommand(org.apache.felix.ipojo.InstanceManager manager,
org.apache.felix.gogo.commands.basic.ActionPreparator preparator)
|
| Methods inherited from class org.apache.felix.gogo.commands.basic.AbstractCommand |
execute, getActionClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatelessGogoCommand
public StatelessGogoCommand(org.apache.felix.ipojo.InstanceManager manager,
org.apache.felix.gogo.commands.basic.ActionPreparator preparator)
createNewAction
public org.apache.felix.gogo.commands.Action createNewAction()
- Specified by:
createNewAction in class org.apache.felix.gogo.commands.basic.AbstractCommand
releaseAction
public void releaseAction(org.apache.felix.gogo.commands.Action action)
throws Exception
- Overrides:
releaseAction in class org.apache.felix.gogo.commands.basic.AbstractCommand
- Throws:
Exception
Copyright © 2013 OW2 Consortium. All Rights Reserved.