public interface WsnBatchResult
WsnBatchCompleteResults
,
WsnBatchModeContext
Modifier and Type | Field and Description |
---|---|
static int |
BIND
Constant returned by
getOperation() which indicates that the results
contained in this object are from a bind operation. |
static int |
CREATE_SUBCONTEXT
Constant returned by
getOperation() which indicates that the results
contained in this object are from a createSubcontext operation. |
static int |
CREATESUBCONTEXT
Deprecated.
see CREATE_SUBCONTEXT
|
static int |
DESTROY_SUBCONTEXT
Constant returned by
getOperation() which indicates that the results
contained in this object are from a destroySubcontext operation. |
static int |
DESTROYSUBCONTEXT
Deprecated.
see DESTROY_SUBCONTEXT
|
static int |
LOOKUP
Constant returned by
getOperation() which indicates that the results
contained in this object are from a lookup operation. |
static int |
REBIND
Constant returned by
getOperation() which indicates that the results
contained in this object are from a rebind operation. |
static int |
RENAME
Constant returned by
getOperation() which indicates that the results
contained in this object are from a rename operation. |
static int |
UNBIND
Constant returned by
getOperation() which indicates that the results
contained in this object are from a unbind operation. |
Modifier and Type | Method and Description |
---|---|
javax.naming.NamingException |
getException()
Returns the exception thrown by the operation, if an exception was thrown.
|
java.lang.Object |
getInputObject()
Returns the java.lang.Object input parameter value.
|
javax.naming.Name |
getName()
Returns the javax.naming.Name input parameter value.
|
javax.naming.Name |
getNewName()
Returns the "new name" javax.naming.Name input parameter value.
|
javax.naming.Name |
getOldName()
Returns the "old name" javax.naming.Name input parameter value.
|
int |
getOperation()
Returns the batched operation type.
|
java.lang.Object |
getOutputObject()
Returns the Object result.
|
boolean |
getResult()
Indicates whether or not the operation was successful.
|
javax.naming.Context |
getSubcontext()
Returns the Context result.
|
static final int LOOKUP
getOperation()
which indicates that the results
contained in this object are from a lookup operation.
The value for this constant is 1.
static final int BIND
getOperation()
which indicates that the results
contained in this object are from a bind operation.
The value for this constant is 2.
static final int REBIND
getOperation()
which indicates that the results
contained in this object are from a rebind operation.
The value for this constant is 3.
static final int UNBIND
getOperation()
which indicates that the results
contained in this object are from a unbind operation.
The value for this constant is 4.
static final int CREATE_SUBCONTEXT
getOperation()
which indicates that the results
contained in this object are from a createSubcontext operation.
The value for this constant is 5.
@Deprecated static final int CREATESUBCONTEXT
getOperation()
which indicates that the results
contained in this object are from a createSubcontext operation.
The value for this constant is 5.
static final int DESTROY_SUBCONTEXT
getOperation()
which indicates that the results
contained in this object are from a destroySubcontext operation.
The value for this constant is 6.
@Deprecated static final int DESTROYSUBCONTEXT
getOperation()
which indicates that the results
contained in this object are from a destroySubcontext operation.
The value for this constant is 6.
static final int RENAME
getOperation()
which indicates that the results
contained in this object are from a rename operation.
The value for this constant is 7.
int getOperation()
javax.naming.Name getName() throws javax.naming.NamingException
javax.naming.NamingException
- if the value was not specified on input to the batch operation.javax.naming.Name getOldName() throws javax.naming.NamingException
javax.naming.NamingException
- if the value was not specified on input to the batch operation.javax.naming.Name getNewName() throws javax.naming.NamingException
javax.naming.NamingException
- if the value was not specified on input to the batch operation.javax.naming.Context getSubcontext() throws javax.naming.NamingException
javax.naming.NamingException
- if the batch operation did not produce a return value.java.lang.Object getInputObject() throws javax.naming.NamingException
javax.naming.NamingException
- if the value was not specified on input to the batch operation.java.lang.Object getOutputObject() throws javax.naming.NamingException
javax.naming.NamingException
- if the batch operation did not produce the specified value.boolean getResult()
javax.naming.NamingException getException() throws javax.naming.NamingException
javax.naming.NamingException
- if the batch operation did not result in an exception.