|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sssw.jbroker.web.holders.BooleanHolder
A holder class for a boolean that is used to store inout or out parameters in remote method calls. When calling a remote service that has a boolean as an inout or out parameter, the programmer must pass an instance of booleanHolder as the corresponding parameter in the method invocation. The input value must be set before invoking for inout paramters using the setValue method. Before the invocation returns, the runtime has filled in the value, which the programmer can access using the getResult method.
BooleanHolder
Field Summary | |
boolean |
value
Deprecated. The return value held by this result object. |
Constructor Summary | |
BooleanHolder()
Deprecated. Default constructor for BooleanHolder. |
|
BooleanHolder(boolean value)
Deprecated. Construct a BooleanHolder with the specified value. |
Method Summary | |
boolean |
getResult()
Deprecated. Get the result held within this BooleanHolder. |
void |
read(InputStream is)
Deprecated. Read the contents of this holder from an input stream. |
void |
setValue(boolean value)
Deprecated. Set the value held within this BooleanHolder. |
void |
write(OutputStream os,
String name)
Deprecated. Write the contents of this holder to an output stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean value
Constructor Detail |
public BooleanHolder()
public BooleanHolder(boolean value)
value
- The value held by this holder.Method Detail |
public boolean getResult()
public void setValue(boolean value)
value
- The new value to be held by this holder.public void read(InputStream is) throws IOException
read
in interface Holder
is
- The input stream.
IOException
- If an I/O error occurs.public void write(OutputStream os, String name) throws IOException
write
in interface Holder
os
- The output stream.name
- The parameter name.
IOException
- If an I/O error occurs.
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |