cgl.hpsearch.shell.flow
Class URLResource
java.lang.Object
org.mozilla.javascript.ScriptableObject
cgl.hpsearch.shell.flow.URLResource
- All Implemented Interfaces:
- Resource, Scriptable, Serializable
- public class URLResource
- extends ScriptableObject
- implements Resource
URLResource creates a host object to signify an input or output of the broker network. It
represents an encapsulation of the URI.
- Author:
- Harshawardhan S. Gadgil $Date: 2005/10/16 14:41:04 $
- See Also:
- Serialized Form
|
Constructor Summary |
URLResource()
The zero-argument constructor used by Rhino runtime to create instances |
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
callMethod, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLResource
public URLResource()
- The zero-argument constructor used by Rhino runtime to create instances
getRequestSpec
public RequestSpecification getRequestSpec()
- Creates a Filter for the current URLResource node. The contents of this node are as follows:
- A read {from source -> to dest} for each stream at this node
<connect waitfor="true"
source="file:///rootPasswords.txt"
dest="topic:///CGL/WORKFLOW/STREAM/GUID-382" />
- Optional details on whether to waitFor a particular stream or not...
- Specified by:
getRequestSpec in interface Resource
- Returns:
- The Filter object
getClassName
public String getClassName()
- Specified by:
getClassName in interface Scriptable
jsConstructor
public void jsConstructor()
jsGet_id
public String jsGet_id()
jsGet_notify
public Object jsGet_notify()
jsGet_port
public Object jsGet_port()
jsSet_id
public void jsSet_id(String i)
jsSet_notify
public void jsSet_notify(Object a)
jsSet_port
public void jsSet_port(Object a)
usage
public void usage()
- Specified by:
usage in interface Resource
getResourceID
public String getResourceID()
- Specified by:
getResourceID in interface Resource