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.
  • Constructor Details

    • CorbanameURL

      public CorbanameURL(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 Details

    • 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 interface INSURL
      Specified by:
      isCorbanameURL in class INSURLBase