org.jacorb.orb
Class ParsedIOR
public class ParsedIOR
extends java.lang.Object
Class to convert IOR strings into IOR structures
Version:
- Gerald Brose, FU Berlin
ParsedIOR(String object_reference, ORB orb, Logger logger) - Creates a new
ParsedIOR instance.
|
ParsedIOR(String object_reference, ORB orb, Logger logger) - Creates a new
ParsedIOR instance.
|
ParsedIOR(IOR _ior, ORB orb, Logger logger)
|
endianness
protected boolean endianness
ParsedIOR
public ParsedIOR(String object_reference,
ORB orb,
Logger logger)
throws IllegalArgumentException
Creates a new ParsedIOR
instance.
object_reference
- a String
valueorb
- an org.jacorb.orb.ORB
value
ParsedIOR
public ParsedIOR(String object_reference,
ORB orb,
Logger logger)
throws IllegalArgumentException
Creates a new ParsedIOR
instance.
object_reference
- a String
valueorb
- an org.omg.CORBA.ORB
value
ParsedIOR
public ParsedIOR(IOR _ior,
ORB orb,
Logger logger)
createObjectIOR
public static IOR createObjectIOR(Profile profile)
factory method
decode
public 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.
equals
public boolean equals(Object o)
extractObjectKey
public static byte[] extractObjectKey(TargetAddress addr,
ORB orb)
This method replaces the unfiyTargetAddress method.
It will extract an object key from any given GIOP::TargetAddress
assuming an appropriate ETF::Factories implementation is availble
for the profile in use.
getCodebaseComponent
public String getCodebaseComponent()
Returns the value of the TAG_JAVA_CODEBASE component from this IOR,
or null if no such component exists. The component is first searched
in the effective profile, if that is an IIOPProfile, and failing that,
in the MULTIPLE_COMPONENTS list.
getEffectiveProfile
public Profile getEffectiveProfile()
getIDString
public String getIDString()
getIOR
public IOR getIOR()
getIORString
public String getIORString()
getORBTypeId
public Integer getORBTypeId()
getProfiles
public List getProfiles()
getTypeId
public String getTypeId()
get_object_key
public byte[] get_object_key()
isNull
public boolean isNull()
isParsableProtocol
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.
- a
boolean
denoting whether ParsedIOR can handle this
protocol
parse
protected void parse(String object_reference)
throws IllegalArgumentException
parse
decodes the object_reference passed to ParsedIOR.
object_reference
- a String
value.