com.infoengine.SAK
Class ObjectWebject

java.lang.Object
  extended bycom.infoengine.object.factory.Webject
      extended bycom.infoengine.SAK.Webject
          extended bycom.infoengine.SAK.ObjectWebject
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
ActionWebject

public class ObjectWebject
extends Webject

This class provides methods to construct and execute object webjects in applications and JSP pages.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.infoengine.SAK.Webject
 
Field Summary
private static String RESOURCE
           
 
Fields inherited from class com.infoengine.SAK.Webject
inputStream, outputStream, service, task, webjectProcessor
 
Fields inherited from class com.infoengine.object.factory.Webject
CLASS, DISPLAY, EXTERNAL, GROUP, GROUP_IN, GROUP_OUT, MESSAGE, OBJECT, OUTPUT, TASK, text, TYPE, UNKNOWN
 
Constructor Summary
ObjectWebject()
          Constructs an object webject with no name.
ObjectWebject(String name)
          Constructs an object webject with a specific name.
 
Method Summary
 void invoke(Task task)
          Invokes the webject in the server context.
 
Methods inherited from class com.infoengine.SAK.Webject
addParam, copyOutputGroups, getInputStream, getOutputStream, getProcessor, getProcessorClassName, getService, getWebjectImpl, initialize, invoke, logWebject, run, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setService
 
Methods inherited from class com.infoengine.object.factory.Webject
addKey, addMessage, addMeta, addMetaValue, addOutput, addParam, addUniqueKey, addUniqueValue, addValue, addValue, addWebject, clearParams, clone, deepClone, getClassName, getGroupInName, getGroupInNames, getGroupOutName, getGroupOutNames, getKey, getKeys, getMessages, getMetaValue, getName, getNode, getOutput, getParam, getParam, getParamNames, getParams, getParams, getPassword, getType, getUserName, getValue, getValues, getWebjects, newStructure, paramValue, paramValue, paramValues, printTree, removeAllWebjects, removeParam, removeParams, removeWebject, setClassName, setName, setNode, setParam, setPassword, setType, setUserName, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

ObjectWebject

public ObjectWebject()
Constructs an object webject with no name.


ObjectWebject

public ObjectWebject(String name)
Constructs an object webject with a specific name.

Parameters:
name - The name to be assigned to the webject.
Method Detail

invoke

public void invoke(Task task)
            throws IEException,
                   IOException
Invokes the webject in the server context. If the webject returns any output groups, they will be added to the collection maintained in the server context.

Overrides:
invoke in class Webject
Parameters:
task - The task associated with the webject.
Throws:
IEException - if the webject is not executed successfully.
IOException