net.ponder2
Class P2ObjectAdaptor.StaticOperation

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

public abstract static class P2ObjectAdaptor.StaticOperation
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.StaticOperation()
           
 
Method Summary
abstract  P2Object call(P2Object source, java.lang.String operation, P2Object... args)
          maps an operation to a static method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P2ObjectAdaptor.StaticOperation

public P2ObjectAdaptor.StaticOperation()
Method Detail

call

public abstract P2Object call(P2Object source,
                              java.lang.String operation,
                              P2Object... args)
                       throws Ponder2Exception
maps an operation to a static method

Parameters:
source - the subject OID of the operation
args - arguments for the operation
Returns:
the new managed object
Throws:
Ponder2ArgumentException
Ponder2Exception


Copyright © 2008 Imperial College. All Rights Reserved.