public class ParsedIOR extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
endianness |
Constructor and Description |
---|
ParsedIOR(ORB orb,
IOR ior)
Creates a new
ParsedIOR instance. |
ParsedIOR(ORB orb,
String object_reference)
Creates a new
ParsedIOR instance. |
Modifier and Type | Method and Description |
---|---|
static IOR |
createObjectIOR(ORBSingleton orb,
org.omg.ETF.Profile profile)
Create an IOR passing an ORB and ETF Profile
|
static IOR |
createObjectIOR(ORBSingleton orb,
org.omg.ETF.Profile[] profiles)
Create an IOR passing an ORB and ETF Profiles
|
static IOR |
createObjectIOR(org.omg.ETF.Profile profile)
Create an IOR passing an ETF Profile.
|
static IOR |
createObjectIOR(org.omg.ETF.Profile[] profiles)
Create an IOR passing an ORB and ETF Profiles
|
boolean |
equals(Object other)
equals contract is that they have the same IOR string and the
same effective profile. |
static byte[] |
extractObjectKey(org.omg.GIOP.TargetAddress addr,
ORB orb)
This method replaces the unifyTargetAddress method.
|
byte[] |
get_object_key() |
String |
getCodebaseComponent()
Returns the value of the TAG_JAVA_CODEBASE component from this IOR,
or null if no such component exists.
|
org.omg.CONV_FRAME.CodeSetComponentInfo |
getCodeSetComponentInfo() |
String |
getCorbaNameOriginalObjRef() |
org.omg.ETF.Profile |
getEffectiveProfile() |
String |
getIDString() |
IOR |
getIOR() |
String |
getIORString() |
org.omg.ETF.Profile |
getLastUsedProfile() |
TaggedComponentList |
getMultipleComponents() |
org.omg.ETF.Profile |
getNextEffectiveProfile() |
Integer |
getORBTypeId() |
List<org.omg.ETF.Profile> |
getProfiles() |
String |
getTypeId() |
String |
getTypeIdName() |
int |
hashCode() |
boolean |
isNull() |
static boolean |
isNull(IOR ior) |
static boolean |
isParsableProtocol(String check)
isParsableProtocol returns true if ParsedIOR can handle the
protocol within the string. |
boolean |
isProfileSelectorSet() |
void |
markLastUsedProfile() |
void |
patchSSL() |
void |
reparseCorbaName() |
void |
setProfileSelector(ProfileSelector sel) |
boolean |
useCorbaName() |
public ParsedIOR(ORB orb, String object_reference) throws IllegalArgumentException
ParsedIOR
instance.orb
- an org.jacorb.orb.ORB
valueobject_reference
- a String
valueIllegalArgumentException
public static IOR createObjectIOR(org.omg.ETF.Profile profile)
public static IOR createObjectIOR(ORBSingleton orb, org.omg.ETF.Profile profile)
public static IOR createObjectIOR(org.omg.ETF.Profile[] profiles)
public static IOR createObjectIOR(ORBSingleton orb, org.omg.ETF.Profile[] profiles)
public static byte[] extractObjectKey(org.omg.GIOP.TargetAddress addr, ORB orb)
It will extract an object key from any given GIOP::TargetAddress assuming an appropriate ETF::Factories implementation is available for the profile in use.
public String getCodebaseComponent()
public boolean equals(Object other)
equals
contract is that they have the same IOR string and the
same effective profile. i.e. if one profile is SSL enabled then this will
return false.public org.omg.CONV_FRAME.CodeSetComponentInfo getCodeSetComponentInfo()
public Integer getORBTypeId()
public IOR getIOR()
public String getIORString()
public byte[] get_object_key()
public List<org.omg.ETF.Profile> getProfiles()
public org.omg.ETF.Profile getEffectiveProfile()
public org.omg.ETF.Profile getNextEffectiveProfile()
public org.omg.ETF.Profile getLastUsedProfile()
public void markLastUsedProfile()
public void patchSSL()
public String getTypeIdName()
public boolean useCorbaName()
public String getCorbaNameOriginalObjRef()
public void reparseCorbaName()
public String getTypeId()
public String getIDString()
public TaggedComponentList getMultipleComponents()
public boolean isNull()
public static boolean isNull(IOR ior)
public static boolean isParsableProtocol(String check)
isParsableProtocol
returns true if ParsedIOR can handle the
protocol within the string.check
- a String
a string containing a protocol.boolean
denoting whether ParsedIOR can handle this
protocolpublic boolean isProfileSelectorSet()
public void setProfileSelector(ProfileSelector sel)
Copyright © 2017 JacORB. All rights reserved.