org.ow2.shelbie.core.internal.handler
Class StatefulGogoCommand

java.lang.Object
  extended by org.apache.felix.gogo.commands.basic.AbstractCommand
      extended by org.ow2.shelbie.core.internal.handler.GogoCommand
          extended by 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.


Field Summary
 
Fields inherited from class org.ow2.shelbie.core.internal.handler.GogoCommand
manager
 
Constructor Summary
StatefulGogoCommand(org.apache.felix.ipojo.InstanceManager manager, org.apache.felix.gogo.commands.basic.ActionPreparator preparator)
           
 
Method Summary
 org.apache.felix.gogo.commands.Action createNewAction()
           
 
Methods inherited from class org.ow2.shelbie.core.internal.handler.GogoCommand
getPreparator, release
 
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
 

Constructor Detail

StatefulGogoCommand

public StatefulGogoCommand(org.apache.felix.ipojo.InstanceManager manager,
                           org.apache.felix.gogo.commands.basic.ActionPreparator preparator)
Method Detail

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.