public class IORFactories extends Object
Modifier and Type | Method and Description |
---|---|
static IOR |
getIOR(Object obj) |
static IORFactory |
getIORFactory(ObjectReferenceTemplate ort) |
static IORTemplateList |
getIORTemplateList(ObjectReferenceFactory orf) |
static IOR |
makeIOR(InputStream is)
Read an IOR from an InputStream.
|
static IOR |
makeIOR(ORB orb)
Create an empty IOR for the given orb with a null typeid.
|
static IOR |
makeIOR(ORB orb,
String typeid)
Create an empty IOR for the given orb and typeid.
|
static IORTemplate |
makeIORTemplate(InputStream is)
Read an IORTemplate from an InputStream.
|
static IORTemplate |
makeIORTemplate(ObjectKeyTemplate oktemp)
Create an IORTemplate with the given ObjectKeyTemplate.
|
static IORTemplateList |
makeIORTemplateList() |
static IORTemplateList |
makeIORTemplateList(InputStream is) |
static ObjectId |
makeObjectId(byte[] id)
Create an ObjectId for the given byte sequence.
|
static ObjectKey |
makeObjectKey(ObjectKeyTemplate oktemp,
ObjectId oid)
Create an ObjectKey for the given ObjectKeyTemplate and ObjectId.
|
static ObjectKeyFactory |
makeObjectKeyFactory(ORB orb) |
static Object |
makeObjectReference(IOR ior) |
static ObjectReferenceFactory |
makeObjectReferenceFactory(ORB orb,
IORTemplateList iortemps) |
static ObjectReferenceTemplate |
makeObjectReferenceTemplate(ORB orb,
IORTemplate iortemp) |
static void |
registerValueFactories(ORB orb)
This method must be called in order to register the value factories for the ObjectReferenceTemplate and
ObjectReferenceFactory value types.
|
public static ObjectId makeObjectId(byte[] id)
public static ObjectKey makeObjectKey(ObjectKeyTemplate oktemp, ObjectId oid)
public static IOR makeIOR(ORB orb, String typeid)
public static IOR makeIOR(ORB orb)
public static IOR makeIOR(InputStream is)
public static IORTemplate makeIORTemplate(ObjectKeyTemplate oktemp)
public static IORTemplate makeIORTemplate(InputStream is)
public static IORTemplateList makeIORTemplateList()
public static IORTemplateList makeIORTemplateList(InputStream is)
public static IORFactory getIORFactory(ObjectReferenceTemplate ort)
public static IORTemplateList getIORTemplateList(ObjectReferenceFactory orf)
public static ObjectReferenceTemplate makeObjectReferenceTemplate(ORB orb, IORTemplate iortemp)
public static ObjectReferenceFactory makeObjectReferenceFactory(ORB orb, IORTemplateList iortemps)
public static ObjectKeyFactory makeObjectKeyFactory(ORB orb)
public static void registerValueFactories(ORB orb)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.