< prev index next >
src/java.corba/share/classes/com/sun/jndi/cosnaming/CNCtx.java
Print this page
*** 1038,1059 ****
return lookup(name);
}
/**
* Allow access to the name parser object.
! * @param String JNDI name, is ignored since there is only one Name
* Parser object.
* @exception NamingException --
* @return NameParser object
*/
public NameParser getNameParser(String name) throws NamingException {
return parser;
}
/**
* Allow access to the name parser object.
! * @param Name JNDI name, is ignored since there is only one Name
* Parser object.
* @exception NamingException --
* @return NameParser object
*/
public NameParser getNameParser(Name name) throws NamingException {
--- 1038,1059 ----
return lookup(name);
}
/**
* Allow access to the name parser object.
! * @param name JNDI name, is ignored since there is only one Name
* Parser object.
* @exception NamingException --
* @return NameParser object
*/
public NameParser getNameParser(String name) throws NamingException {
return parser;
}
/**
* Allow access to the name parser object.
! * @param name JNDI name, is ignored since there is only one Name
* Parser object.
* @exception NamingException --
* @return NameParser object
*/
public NameParser getNameParser(Name name) throws NamingException {
*** 1086,1096 ****
/**
* Adds to the environment for the current context.
* Record change but do not reinitialize ORB.
*
* @param propName The property name.
! * @param propVal The ORB.
* @return the previous value of this property if any.
*/
@SuppressWarnings("unchecked")
public java.lang.Object addToEnvironment(String propName,
java.lang.Object propValue)
--- 1086,1096 ----
/**
* Adds to the environment for the current context.
* Record change but do not reinitialize ORB.
*
* @param propName The property name.
! * @param propValue The ORB.
* @return the previous value of this property if any.
*/
@SuppressWarnings("unchecked")
public java.lang.Object addToEnvironment(String propName,
java.lang.Object propValue)
< prev index next >