|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICISAPIObjectFactory
Factory for generating ISCSObject objects. Takes in a IDataBinder object and uses
the data to create a new ISCSObject.
| Nested Class Summary | |
|---|---|
static interface |
ICISAPIObjectFactory.FactoryWrapper
Wrap an object before sending to the source UCPM target for initialization. |
| Field Summary | |
|---|---|
static java.lang.String |
BEAN_ID
|
| Method Summary | |
|---|---|
java.lang.Object |
createDataObject(java.lang.Class type)
Create a supporting data object as needed for the ICISObject classes. |
java.lang.Object |
createObject(java.lang.Class type)
Create an object from a given object. |
java.lang.Object |
createObject(java.lang.Class type,
java.lang.Object object,
java.lang.String adapterName)
Create an object from a given object. |
void |
registerFactoryWrapper(ICISAPIObjectFactory.FactoryWrapper factoryWrapper)
Register a new factory wrapper type |
void |
setObjectCreator(java.lang.String type,
java.lang.Object className)
Register a particular type of object with an implementation classname |
| Field Detail |
|---|
static final java.lang.String BEAN_ID
| Method Detail |
|---|
void setObjectCreator(java.lang.String type,
java.lang.Object className)
type - the full classname to the type of object, should extend ISCSObjectclassName - the full implentation class name
java.lang.Object createObject(java.lang.Class type)
throws CreateAPIObjectException
ICISObjectInitializable, the initialize
method will be called with the given arguments. Otherwise, the default constructor will
be called and the object returned.
type - the type of object to generate, should extend class ISCSObject
CreateAPIObjectException
java.lang.Object createObject(java.lang.Class type,
java.lang.Object object,
java.lang.String adapterName)
throws CreateAPIObjectException
ICISObjectInitializable, the initialize
method will be called with the given arguments. Otherwise, the default constructor will
be called and the object returned.
type - the type of object to generate, should extend class ISCSObjectobject - the source object to pass to the initialize methodadapterName - the adapter name
CreateAPIObjectException
java.lang.Object createDataObject(java.lang.Class type)
throws CreateAPIObjectException
type - the type of object to create
CreateAPIObjectExceptionvoid registerFactoryWrapper(ICISAPIObjectFactory.FactoryWrapper factoryWrapper)
factoryWrapper - the FactoryWrapper to register
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||