< prev index next >
src/java.corba/share/classes/com/sun/corba/se/impl/naming/pcosnaming/NamingContextImpl.java
Print this page
*** 1138,1151 ****
}
/**
* This operation creates a stringified name from the array of Name
* components.
! * @param n Name of the object <p>
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.<p>
! *
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
{
// Name valid?
--- 1138,1150 ----
}
/**
* This operation creates a stringified name from the array of Name
* components.
! * @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.
*/
public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
{
// Name valid?
*** 1165,1178 ****
}
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
! * @param sn Stringified Name of the object <p>
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.<p>
! *
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
{
// Name valid?
--- 1164,1176 ----
}
/**
* This operation converts a Stringified Name into an equivalent array
* of Name Components.
! * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.
*/
public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName
{
// Name valid?
*** 1202,1219 ****
/**
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
! * Name Service is running <p>
! * @param sn Stringified Name of the object <p>
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.<p>
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
! * incorrect <p>
! *
*/
public String to_url(String addr, String sn)
throws org.omg.CosNaming.NamingContextExtPackage.InvalidAddress,
org.omg.CosNaming.NamingContextPackage.InvalidName
--- 1200,1216 ----
/**
* This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object.
* @param addr internet based address of the host machine where
! * Name Service is running
! * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is
! * incorrect
*/
public String to_url(String addr, String sn)
throws org.omg.CosNaming.NamingContextExtPackage.InvalidAddress,
org.omg.CosNaming.NamingContextPackage.InvalidName
*** 1245,1262 ****
}
/**
* This operation resolves the Stringified name into the object
* reference.
! * @param sn Stringified Name of the object <p>
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
! * Indicates there is no object reference for the given name. <p>
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
! * Indicates that the given compound name is incorrect <p>
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.<p>
! *
*/
public org.omg.CORBA.Object resolve_str(String sn)
throws org.omg.CosNaming.NamingContextPackage.NotFound,
org.omg.CosNaming.NamingContextPackage.CannotProceed,
org.omg.CosNaming.NamingContextPackage.InvalidName
--- 1242,1258 ----
}
/**
* This operation resolves the Stringified name into the object
* reference.
! * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound
! * Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
! * Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
! * Indicates the name does not identify a binding.
*/
public org.omg.CORBA.Object resolve_str(String sn)
throws org.omg.CosNaming.NamingContextPackage.NotFound,
org.omg.CosNaming.NamingContextPackage.CannotProceed,
org.omg.CosNaming.NamingContextPackage.InvalidName
< prev index next >