net.ponder2
Class P2ObjectAdaptor.InstanceOperation

java.lang.Object
  extended by net.ponder2.P2ObjectAdaptor.InstanceOperation
Enclosing class:
P2ObjectAdaptor

public abstract static class P2ObjectAdaptor.InstanceOperation
extends java.lang.Object

Base class to map an operation with known arguments to a specific call within a managed object

Version:
$Id:$
Author:
Kevin Twidle

Constructor Summary
P2ObjectAdaptor.InstanceOperation()
           
 
Method Summary
abstract  P2Object call(P2Object thisobj, ManagedObject obj, P2Object source, java.lang.String operation, P2Object... args)
          calls an operation in a managed object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P2ObjectAdaptor.InstanceOperation

public P2ObjectAdaptor.InstanceOperation()
Method Detail

call

public abstract P2Object call(P2Object thisobj,
                              ManagedObject obj,
                              P2Object source,
                              java.lang.String operation,
                              P2Object... args)
                       throws Ponder2Exception
calls an operation in a managed object

Parameters:
obj - the instance of the managed object to be called
source - the subject OID of the operation
args - arguments for the operation
Returns:
the result of the operation
Throws:
Ponder2Exception


Copyright © 2008 Imperial College. All Rights Reserved.