org.ow2.shelbie.core.internal.handler
Class StatefulGogoCommand
java.lang.Object
org.apache.felix.gogo.commands.basic.AbstractCommand
org.ow2.shelbie.core.internal.handler.GogoCommand
org.ow2.shelbie.core.internal.handler.StatefulGogoCommand
- All Implemented Interfaces:
- org.apache.felix.service.command.Function
public class StatefulGogoCommand
- extends GogoCommand
A Stateful Command is a command whose Action keeps state in the instance.
Its a singleton.
That means that if the user perform multiple invocation of the same command,
the same instance will be used.
|
Constructor Summary |
StatefulGogoCommand(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, releaseAction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatefulGogoCommand
public StatefulGogoCommand(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
Copyright © 2013 OW2 Consortium. All Rights Reserved.