HPSearch

cgl.hpsearch.shell.flow
Class URLResource

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended bycgl.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

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, parent, PERMANENT, prototype, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
URLResource()
          The zero-argument constructor used by Rhino runtime to create instances
 
Method Summary
 String getClassName()
           
 RequestSpecification getRequestSpec()
          Creates a Filter for the current URLResource node.
 String getResourceID()
           
 void jsConstructor()
           
 String jsGet_id()
           
 Object jsGet_notify()
           
 Object jsGet_port()
           
 void jsSet_id(String i)
           
 void jsSet_notify(Object a)
           
 void jsSet_port(Object a)
           
 void usage()
           
 
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
 

Constructor Detail

URLResource

public URLResource()
The zero-argument constructor used by Rhino runtime to create instances

Method Detail

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

    HPSearch

    For comments and suggestions please send e-mail to Harshawardhan Gadgil
    Last updated: June 9 2006