Class InterOperableNamingImpl
java.lang.Object
com.sun.corba.se.impl.naming.cosnaming.InterOperableNamingImpl
Class InteroperableNamingImpl implements the methods defined
for NamingContextExt which is part of Interoperable Naming
Service specifications. This class is added for doing more
of Parsing and Building of Stringified names according to INS
Spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToNameComponent(String theStringifiedName) Method which converts the Stringified name into Array of Name Components.convertToString(NameComponent[] theNameComponents) Method which stringifies the Name Components given as the input parameter.createURLBasedAddress(String address, String name) Method which converts the Stringified name and Host Name Address into a URL based Name
-
Constructor Details
-
InterOperableNamingImpl
public InterOperableNamingImpl()
-
-
Method Details
-
convertToString
Method which stringifies the Name Components given as the input parameter.- Parameters:
n- Array of Name Components (Simple or Compound Names)- Returns:
- string which is the stringified reference.
-
convertToNameComponent
Method which converts the Stringified name into Array of Name Components.- Parameters:
string- which is the stringified name.- Returns:
- Array of Name Components (Simple or Compound Names)
- Throws:
InvalidName
-
createURLBasedAddress
Method which converts the Stringified name and Host Name Address into a URL based Name- Parameters:
address- which is ip based host namename- which is the stringified name.- Returns:
- url based Name.
- Throws:
InvalidAddress
-