public interface IStoreObjectFactory
An ODS object factory manufactures ODS store objects. Each object factory is uniquely identified in the system via an identifier (a short value). Factories are dynamically loaded by the ODS runtime. Although they can be used to create store objects explictly for the user, their primary role is to reconsitute replicated objects.
Modifier and Type | Field and Description |
---|---|
static short |
OFID_ADM_ANNOTATED_CODE_TEST
Identifies the ADM Annotated Code Test Root object factory.
|
static short |
OFID_AEP_ENVIRONMENT_FACTORY
Identifies the AEP Environment Factory
|
static short |
OFID_AEP_FLOW_FACTORY
Identifies the AEP Flow Factory
|
static short |
OFID_AEP_MESSAGE_FACTORY
The AepMessageFactory
ADM Model Factory Id: -2
Factory Class Name : com.neeve.aep.messages.AepMessageFactory
Factory ID : 34
|
static int |
OFID_AEP_TXN_STATS_FACTORY
The AepMonTxnStatsFactory
ADM Model Factory Id: -5
Factory Class Name : com.neeve.aep.mon.txnstats.AepMonTxnStatsFactory
Factory ID : 37
|
static short |
OFID_EAGLE_RESERVED_FACTORYID_END
The ending index reserved for eagle store object view factory ids.
|
static short |
OFID_EAGLE_RESERVED_FACTORYID_START
The starting index reserved for eagle store object view factory ids.
|
static short |
OFID_HORNET_RESERVED_FACTORYID_END
The ending index reserved for eagle store object view factory ids.
|
static short |
OFID_HORNET_RESERVED_FACTORYID_START
The starting index reserved for hornet store object view factory ids.
|
static short |
OFID_NULL
Signifies a 'null' object factory.
|
static short |
OFID_ODS_BINDING_UNIT_TEST
Identifies the ODS Binding Unit Test object factory.
|
static short |
OFID_ODS_PERF_TOOL
Identifies the ODS Perf Tool object factory.
|
static short |
OFID_ODS_STRESS_TOOL
Identifies the ODS Stress Tool object factory.
|
static short |
OFID_ODS_TOOL
Identifies the ODS Tool object factory.
|
static short |
OFID_PLATFORM_STATIC_LAST
Identifies the last platform static factory id
|
static short |
OFID_ROG_RAW_FACTORY
Identifies the Rog Raw Message Factory
|
static short |
OFID_SERVER_FLOW_FACTORY |
static short |
OFID_SRV_MON_ALERT_FACTORY
The SrvMonAlertFactory.
|
static short |
OFID_SRV_MON_CNC_FACTORY
The SrvMonCnCFactory.
|
static short |
OFID_SRV_MON_FACTORY
The SrvMonFactory.
|
static short |
OFID_SRV_MON_LIFECYCLE_FACTORY
The SrvMonCnCFactory.
|
static short |
OFID_TALON_RESERVED_FACTORYID_END
The last reserved Talon store object factory ids.
|
Modifier and Type | Method and Description |
---|---|
IStoreObject |
create(short type,
com.eaio.uuid.UUID id,
IStoreObject.EncodingType encodingType,
PktPacket serializedObject)
Create an object from its serialized form
|
short |
getOfid()
Get the factory's unique identifier
|
static final short OFID_NULL
static final short OFID_ODS_TOOL
static final short OFID_ODS_PERF_TOOL
static final short OFID_ODS_STRESS_TOOL
static final short OFID_ODS_BINDING_UNIT_TEST
static final short OFID_ADM_ANNOTATED_CODE_TEST
static final short OFID_AEP_FLOW_FACTORY
static final short OFID_SERVER_FLOW_FACTORY
static final short OFID_AEP_ENVIRONMENT_FACTORY
static final short OFID_ROG_RAW_FACTORY
static final short OFID_PLATFORM_STATIC_LAST
static final short OFID_SRV_MON_FACTORY
static final short OFID_AEP_MESSAGE_FACTORY
static final short OFID_SRV_MON_LIFECYCLE_FACTORY
static final short OFID_SRV_MON_ALERT_FACTORY
static final short OFID_SRV_MON_CNC_FACTORY
static final int OFID_AEP_TXN_STATS_FACTORY
static final short OFID_TALON_RESERVED_FACTORYID_END
static final short OFID_EAGLE_RESERVED_FACTORYID_START
static final short OFID_EAGLE_RESERVED_FACTORYID_END
static final short OFID_HORNET_RESERVED_FACTORYID_START
static final short OFID_HORNET_RESERVED_FACTORYID_END
short getOfid()
IStoreObject create(short type, com.eaio.uuid.UUID id, IStoreObject.EncodingType encodingType, PktPacket serializedObject) throws Exception
type
- The type of the object to create. The object type is the unique
identifier of the object relative to its object factory. The type is used to
identify the object's Java class to instantiateid
- The id of the object to create. The object id is the unique identifier
of an object in its ODS store.encodingType
- The object's content encoding type.serializedObject
- The serialized form of the object.Exception
This method is intended for use by the ODS runtime to reconstitute replicated store objects. The method should create an empty object, associate it with the specified id and deserialize its contents from the supplied packet (object's serialized form).
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.