org.jacorb.orb
public class ParsedIOR extends Object
Version: $Id: ParsedIOR.java,v 1.80 2006/08/03 16:40:12 alphonse.bendt Exp $
Field Summary | |
---|---|
protected boolean | endianness |
Constructor Summary | |
---|---|
ParsedIOR(ORB orb, String object_reference)
Creates a new ParsedIOR instance. | |
ParsedIOR(ORB orb, IOR ior)
Creates a new ParsedIOR instance. |
Method Summary | |
---|---|
static IOR | createObjectIOR(Profile profile)
factory method |
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. i.e. if one profile is SSL enabled then this will
return false.
|
static byte[] | extractObjectKey(TargetAddress addr, ORB orb)
This method replaces the unfiyTargetAddress method.
|
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() |
byte[] | get_object_key() |
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) |
ParsedIOR
instance.Parameters: orb an org.jacorb.orb.ORB
value object_reference a String
value
ParsedIOR
instance.Parameters: orb an org.jacorb.orb.ORB
value ior an IOR
value
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.
Parameters: other an Object
value
Returns: a boolean
value
It will extract an object key from any given GIOP::TargetAddress assuming an appropriate ETF::Factories implementation is availble for the profile in use.
isParsableProtocol
returns true if ParsedIOR can handle the
protocol within the string.
Parameters: check a String
a string containing a protocol.
Returns: a boolean
denoting whether ParsedIOR can handle this
protocol
parse
decodes the object_reference passed to ParsedIOR.
Parameters: object_reference a String
value.
Throws: IllegalArgumentException if object_reference is null or the designated resource cannot be found.