Class CorbanameURL
- java.lang.Object
-
- com.sun.corba.ee.impl.naming.namingutil.INSURLBase
-
- com.sun.corba.ee.impl.naming.namingutil.CorbanameURL
-
- All Implemented Interfaces:
INSURL
public class CorbanameURL extends INSURLBase
The corbaname: URL definitions from the -ORBInitDef and -ORBDefaultInitDef's will be stored in this object. This object is capable of storing CorbaLoc profiles as defined in the CorbaName grammer.
-
-
Field Summary
-
Fields inherited from class com.sun.corba.ee.impl.naming.namingutil.INSURLBase
rirFlag, theEndpointInfo, theKeyString, theStringifiedName
-
-
Constructor Summary
Constructors Constructor Description CorbanameURL(java.lang.String aURL)
This constructor takes a corbaname: url with 'corbaname:' prefix stripped and initializes all the variables accordingly.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
copyINSURL(INSURL url)
A Utility method to copy all the variables from CorbalocURL object to this instance.boolean
isCorbanameURL()
-
Methods inherited from class com.sun.corba.ee.impl.naming.namingutil.INSURLBase
badAddress, badAddress, dPrint, getEndpointInfo, getKeyString, getRIRFlag, getStringifiedName
-
-
-
-
Constructor Detail
-
CorbanameURL
public CorbanameURL(java.lang.String aURL)
This constructor takes a corbaname: url with 'corbaname:' prefix stripped and initializes all the variables accordingly. If there are any parsing errors then BAD_PARAM exception is raised.- Parameters:
aURL
- corbaname URL as a String
-
-
Method Detail
-
copyINSURL
private void copyINSURL(INSURL url)
A Utility method to copy all the variables from CorbalocURL object to this instance.
-
isCorbanameURL
public boolean isCorbanameURL()
- Specified by:
isCorbanameURL
in interfaceINSURL
- Specified by:
isCorbanameURL
in classINSURLBase
-
-