org.codehaus.wadi.servicespace.admin.commands
Class AbstractServiceCommand

java.lang.Object
  extended by org.codehaus.wadi.servicespace.admin.commands.AbstractServiceCommand
All Implemented Interfaces:
java.io.Serializable, Command
Direct Known Subclasses:
GetContextualiserInfoStack, GetPartitionBalancingInfos, GetSessionInfos

public abstract class AbstractServiceCommand
extends java.lang.Object
implements Command

Version:
$Revision: 1538 $
See Also:
Serialized Form

Constructor Summary
AbstractServiceCommand(ServiceSpaceName name, ServiceName serviceName)
           
 
Method Summary
protected abstract  java.lang.Object execute(LocalPeer localPeer, ServiceSpace serviceSpace, java.lang.Object service)
           
 java.lang.Object execute(LocalPeer localPeer, ServiceSpaceRegistry serviceSpaceRegistry)
           
 InvocationResultCombiner getInvocationResultCombiner()
           
protected  java.lang.Object getService(ServiceSpace currServiceSpace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServiceCommand

public AbstractServiceCommand(ServiceSpaceName name,
                              ServiceName serviceName)
Method Detail

execute

public java.lang.Object execute(LocalPeer localPeer,
                                ServiceSpaceRegistry serviceSpaceRegistry)
Specified by:
execute in interface Command

getService

protected java.lang.Object getService(ServiceSpace currServiceSpace)

execute

protected abstract java.lang.Object execute(LocalPeer localPeer,
                                            ServiceSpace serviceSpace,
                                            java.lang.Object service)

getInvocationResultCombiner

public InvocationResultCombiner getInvocationResultCombiner()
Specified by:
getInvocationResultCombiner in interface Command


Copyright © 2011. All Rights Reserved.