80 protected Name relativeResolvedName = null;
81
82 /**
83 * Constructs a new instance of Continuation.
84 * Used as dummy for contexts that do not do federation (e.g. for schema ops)
85 */
86 public Continuation() {
87 }
88
89 /**
90 * Constructs a new instance of Continuation.
91 * @param top The name of the object that is to be resolved/operated upon.
92 * This becomes the Continuation's 'starter' and is used to
93 * calculate the "resolved name" when filling in a NamingException.
94 * @param environment The environment used by the caller. It is used
95 * when setting the "environment" of a CannotProceedException.
96 */
97 public Continuation(Name top, Hashtable<?,?> environment) {
98 super();
99 starter = top;
100 this.environment = environment;
101 }
102
103 /**
104 * Determines whether this Continuation contains data that should be
105 * used to continue the operation.
106 *
107 * @return true if operation should continue; false if operation has
108 * completed (successfully or unsuccessfully).
109 */
110 public boolean isContinue() {
111 return continuing;
112 }
113
114 /**
115 * Sets this Continuation to indicate successful completion.
116 * Subsequent calls to isContinue() will return false.
117 * This method is different from the setError() methods only from
118 * the standpoint that this method does not set any of the other
119 * fields such as resolved object or resolved context. This is because
120 * this method is typically called when the context recognizes that
|
80 protected Name relativeResolvedName = null;
81
82 /**
83 * Constructs a new instance of Continuation.
84 * Used as dummy for contexts that do not do federation (e.g. for schema ops)
85 */
86 public Continuation() {
87 }
88
89 /**
90 * Constructs a new instance of Continuation.
91 * @param top The name of the object that is to be resolved/operated upon.
92 * This becomes the Continuation's 'starter' and is used to
93 * calculate the "resolved name" when filling in a NamingException.
94 * @param environment The environment used by the caller. It is used
95 * when setting the "environment" of a CannotProceedException.
96 */
97 public Continuation(Name top, Hashtable<?,?> environment) {
98 super();
99 starter = top;
100 this.environment = (Hashtable<?,?>)
101 ((environment == null) ? null : environment.clone());
102 }
103
104 /**
105 * Determines whether this Continuation contains data that should be
106 * used to continue the operation.
107 *
108 * @return true if operation should continue; false if operation has
109 * completed (successfully or unsuccessfully).
110 */
111 public boolean isContinue() {
112 return continuing;
113 }
114
115 /**
116 * Sets this Continuation to indicate successful completion.
117 * Subsequent calls to isContinue() will return false.
118 * This method is different from the setError() methods only from
119 * the standpoint that this method does not set any of the other
120 * fields such as resolved object or resolved context. This is because
121 * this method is typically called when the context recognizes that
|