Package com.sun.corba.se.spi.ior
Class IORFactories
java.lang.Object
com.sun.corba.se.spi.ior.IORFactories
This class provides a number of factory methods for creating
various IOR SPI classes which are not subclassed for specific protocols.
The following types must be created using this class:
- ObjectId
- ObjectKey
- IOR
- IORTemplate
-
Method Summary
Modifier and TypeMethodDescriptionstatic IORstatic IORFactorystatic IORTemplateListstatic IORCreate an empty IOR for the given orb with a null typeid.static IORCreate an empty IOR for the given orb and typeid.static IORmakeIOR(InputStream is) Read an IOR from an InputStream.static IORTemplatemakeIORTemplate(ObjectKeyTemplate oktemp) Create an IORTemplate with the given ObjectKeyTemplate.static IORTemplateRead an IORTemplate from an InputStream.static IORTemplateListstatic IORTemplateListstatic ObjectIdmakeObjectId(byte[] id) Create an ObjectId for the given byte sequence.static ObjectKeymakeObjectKey(ObjectKeyTemplate oktemp, ObjectId oid) Create an ObjectKey for the given ObjectKeyTemplate and ObjectId.static ObjectKeyFactorymakeObjectKeyFactory(ORB orb) static ObjectmakeObjectReference(IOR ior) static ObjectReferenceFactorymakeObjectReferenceFactory(ORB orb, IORTemplateList iortemps) static ObjectReferenceTemplatemakeObjectReferenceTemplate(ORB orb, IORTemplate iortemp) static voidThis method must be called in order to register the value factories for the ObjectReferenceTemplate and ObjectReferenceFactory value types.
-
Method Details
-
makeObjectId
Create an ObjectId for the given byte sequence. -
makeObjectKey
Create an ObjectKey for the given ObjectKeyTemplate and ObjectId. -
makeIOR
Create an empty IOR for the given orb and typeid. The result is mutable. -
makeIOR
Create an empty IOR for the given orb with a null typeid. The result is mutable. -
makeIOR
Read an IOR from an InputStream. ObjectKeys are not shared. -
makeIORTemplate
Create an IORTemplate with the given ObjectKeyTemplate. The result is mutable. -
makeIORTemplate
Read an IORTemplate from an InputStream. -
makeIORTemplateList
-
makeIORTemplateList
-
getIORFactory
-
getIORTemplateList
-
makeObjectReferenceTemplate
-
makeObjectReferenceFactory
-
makeObjectKeyFactory
-
getIOR
-
makeObjectReference
-
registerValueFactories
This method must be called in order to register the value factories for the ObjectReferenceTemplate and ObjectReferenceFactory value types.
-