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(Profile profile)
factory method
|
static IOR |
createObjectIOR(Profile[] profiles) |
void |
decode(IOR _ior)
When multiple internet IOP tags are present, they will probably
have different versions, we will use the highest version
between 0 and 1.
|
boolean |
equals(Object other)
equals contract is that they have the same IOR string and the
same effective profile. |
static byte[] |
extractObjectKey(TargetAddress addr,
ORB orb)
This method replaces the unfiyTargetAddress 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.
|
CodeSetComponentInfo |
getCodeSetComponentInfo() |
Profile |
getEffectiveProfile() |
String |
getIDString() |
IOR |
getIOR() |
String |
getIORString() |
TaggedComponentList |
getMultipleComponents() |
Integer |
getORBTypeId() |
List |
getProfiles() |
String |
getTypeId() |
int |
hashCode() |
boolean |
isNull() |
static boolean |
isParsableProtocol(String check)
isParsableProtocol returns true if ParsedIOR can handle the
protocol within the string. |
protected void |
parse(String object_reference)
parse decodes the object_reference passed to ParsedIOR. |
void |
setProfileSelector(ProfileSelector sel) |
public ParsedIOR(ORB orb, String object_reference) throws IllegalArgumentException
ParsedIOR
instance.orb
- an org.jacorb.orb.ORB
valueobject_reference
- a String
valueIllegalArgumentException
public static byte[] extractObjectKey(TargetAddress addr, ORB orb)
It will extract an object key from any given GIOP::TargetAddress assuming an appropriate ETF::Factories implementation is availble 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 void decode(IOR _ior)
public CodeSetComponentInfo getCodeSetComponentInfo()
public Integer getORBTypeId()
public IOR getIOR()
public String getIORString()
public byte[] get_object_key()
public List getProfiles()
public Profile getEffectiveProfile()
public String getTypeId()
public String getIDString()
public TaggedComponentList getMultipleComponents()
public boolean isNull()
protected void parse(String object_reference) throws IllegalArgumentException
parse
decodes the object_reference passed to ParsedIOR.object_reference
- a String
value.IllegalArgumentException
- if object_reference is null or the
designated resource cannot be found.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 void setProfileSelector(ProfileSelector sel)
Copyright © 2016 JacORB. All rights reserved.