< prev index next >
src/java.naming/share/classes/javax/naming/CannotProceedException.java
Print this page
*** 91,103 ****
*/
protected Hashtable<?,?> environment = null;
/**
* Contains the name of the resolved object, relative
! * to the context <code>altNameCtx</code>. It is a composite name.
* If null, then no name is specified.
! * See the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code>
* method for details on how this is used.
* <p>
* This field is initialized to null.
* It should not be manipulated directly: it should
* be accessed and updated using getAltName() and setAltName().
--- 91,103 ----
*/
protected Hashtable<?,?> environment = null;
/**
* Contains the name of the resolved object, relative
! * to the context {@code altNameCtx}. It is a composite name.
* If null, then no name is specified.
! * See the {@code javax.naming.spi.ObjectFactory.getObjectInstance}
* method for details on how this is used.
* <p>
* This field is initialized to null.
* It should not be manipulated directly: it should
* be accessed and updated using getAltName() and setAltName().
*** 110,122 ****
*/
protected Name altName = null;
/**
* Contains the context relative to which
! * <code>altName</code> is specified. If null, then the default initial
* context is implied.
! * See the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code>
* method for details on how this is used.
* <p>
* This field is initialized to null.
* It should not be manipulated directly: it should
* be accessed and updated using getAltNameCtx() and setAltNameCtx().
--- 110,122 ----
*/
protected Name altName = null;
/**
* Contains the context relative to which
! * {@code altName} is specified. If null, then the default initial
* context is implied.
! * See the {@code javax.naming.spi.ObjectFactory.getObjectInstance}
* method for details on how this is used.
* <p>
* This field is initialized to null.
* It should not be manipulated directly: it should
* be accessed and updated using getAltNameCtx() and setAltNameCtx().
*** 187,206 ****
return remainingNewName;
}
/**
* Sets the "remaining new name" field of this exception.
! * This is the value returned by <code>getRemainingNewName()</code>.
*<p>
! * <tt>newName</tt> is a composite name. If the intent is to set
* this field using a compound name or string, you must
* "stringify" the compound name, and create a composite
* name with a single component using the string. You can then
* invoke this method using the resulting composite name.
*<p>
! * A copy of <code>newName</code> is made and stored.
! * Subsequent changes to <code>name</code> does not
* affect the copy in this NamingException and vice versa.
*
* @param newName The possibly null name to set the "remaining new name" to.
* If null, it sets the remaining name field to null.
*
--- 187,206 ----
return remainingNewName;
}
/**
* Sets the "remaining new name" field of this exception.
! * This is the value returned by {@code getRemainingNewName()}.
*<p>
! * {@code newName} is a composite name. If the intent is to set
* this field using a compound name or string, you must
* "stringify" the compound name, and create a composite
* name with a single component using the string. You can then
* invoke this method using the resulting composite name.
*<p>
! * A copy of {@code newName} is made and stored.
! * Subsequent changes to {@code name} does not
* affect the copy in this NamingException and vice versa.
*
* @param newName The possibly null name to set the "remaining new name" to.
* If null, it sets the remaining name field to null.
*
*** 212,228 ****
else
this.remainingNewName = null;
}
/**
! * Retrieves the <code>altName</code> field of this exception.
* This is the name of the resolved object, relative to the context
! * <code>altNameCtx</code>. It will be used during a subsequent call to the
! * <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method.
*
* @return The name of the resolved object, relative to
! * <code>altNameCtx</code>.
* It is a composite name. If null, then no name is specified.
*
* @see #setAltName
* @see #getAltNameCtx
* @see javax.naming.spi.ObjectFactory#getObjectInstance
--- 212,228 ----
else
this.remainingNewName = null;
}
/**
! * Retrieves the {@code altName} field of this exception.
* This is the name of the resolved object, relative to the context
! * {@code altNameCtx}. It will be used during a subsequent call to the
! * {@code javax.naming.spi.ObjectFactory.getObjectInstance} method.
*
* @return The name of the resolved object, relative to
! * {@code altNameCtx}.
* It is a composite name. If null, then no name is specified.
*
* @see #setAltName
* @see #getAltNameCtx
* @see javax.naming.spi.ObjectFactory#getObjectInstance
*** 230,243 ****
public Name getAltName() {
return altName;
}
/**
! * Sets the <code>altName</code> field of this exception.
*
* @param altName The name of the resolved object, relative to
! * <code>altNameCtx</code>.
* It is a composite name.
* If null, then no name is specified.
*
* @see #getAltName
* @see #setAltNameCtx
--- 230,243 ----
public Name getAltName() {
return altName;
}
/**
! * Sets the {@code altName} field of this exception.
*
* @param altName The name of the resolved object, relative to
! * {@code altNameCtx}.
* It is a composite name.
* If null, then no name is specified.
*
* @see #getAltName
* @see #setAltNameCtx
*** 245,260 ****
public void setAltName(Name altName) {
this.altName = altName;
}
/**
! * Retrieves the <code>altNameCtx</code> field of this exception.
! * This is the context relative to which <code>altName</code> is named.
* It will be used during a subsequent call to the
! * <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method.
*
! * @return The context relative to which <code>altName</code> is named.
* If null, then the default initial context is implied.
*
* @see #setAltNameCtx
* @see #getAltName
* @see javax.naming.spi.ObjectFactory#getObjectInstance
--- 245,260 ----
public void setAltName(Name altName) {
this.altName = altName;
}
/**
! * Retrieves the {@code altNameCtx} field of this exception.
! * This is the context relative to which {@code altName} is named.
* It will be used during a subsequent call to the
! * {@code javax.naming.spi.ObjectFactory.getObjectInstance} method.
*
! * @return The context relative to which {@code altName} is named.
* If null, then the default initial context is implied.
*
* @see #setAltNameCtx
* @see #getAltName
* @see javax.naming.spi.ObjectFactory#getObjectInstance
*** 262,275 ****
public Context getAltNameCtx() {
return altNameCtx;
}
/**
! * Sets the <code>altNameCtx</code> field of this exception.
*
* @param altNameCtx
! * The context relative to which <code>altName</code>
* is named. If null, then the default initial context
* is implied.
*
* @see #getAltNameCtx
* @see #setAltName
--- 262,275 ----
public Context getAltNameCtx() {
return altNameCtx;
}
/**
! * Sets the {@code altNameCtx} field of this exception.
*
* @param altNameCtx
! * The context relative to which {@code altName}
* is named. If null, then the default initial context
* is implied.
*
* @see #getAltNameCtx
* @see #setAltName
< prev index next >