|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ponder2.FactoryObject
public class FactoryObject
This managed object class is used to hold the factory classes for other managed objects and to instantiate new managed objects. This is the only way managed object types get into the system and the only way instances of those types are created (unless they are being restored).
Constructor Summary | |
---|---|
FactoryObject(java.lang.Class<?> adaptorClass)
creates a managed object that acts as a factory for creating instances of the underlying managed object |
Method Summary | |
---|---|
protected P2Object |
operation_create(P2Object source,
java.lang.String op,
P2Object... args)
all messages are sent to the Managed Object being created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryObject(java.lang.Class<?> adaptorClass)
adaptorClass
- the P2Adaptor class that will be creating the correct object
type laterMethod Detail |
---|
protected P2Object operation_create(P2Object source, java.lang.String op, P2Object... args) throws Ponder2Exception
op
- the operation to be performedargs
- an array of arguments for the operation
Ponder2Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |