ninja.activeproxy.path
Class OpInfo
java.lang.Object
|
+--ninja.activeproxy.path.OpInfo
- public class OpInfo
- extends java.lang.Object
Stores information about a particular operator
Field Summary |
java.lang.String |
name
|
java.lang.String |
url
URL to operator -- probably not useable with most web-browsers, etc
Used to open the operator via rmi. |
java.lang.String |
xml
Complete XML description of operator |
Method Summary |
java.lang.String |
getOpClassName()
|
java.net.URL |
getOpDirectoryURL()
Parse the operator url to get a path to the directory where the operator
resides. |
java.lang.String |
getOpJavaPath()
|
java.lang.String |
GetXMLURLTag()
Return http URL to the operator (the first parameter of the operator in the iSpace config file.) |
(package private) boolean |
HasFileURL()
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
xml
public java.lang.String xml
- Complete XML description of operator
name
public java.lang.String name
url
public java.lang.String url
- URL to operator -- probably not useable with most web-browsers, etc
Used to open the operator via rmi.
OpInfo
public OpInfo()
GetXMLURLTag
public java.lang.String GetXMLURLTag()
- Return http URL to the operator (the first parameter of the operator in the iSpace config file.)
- Returns:
- contents of codeURL tag, which is embedded in the XML of the operator when it is registered.
If no such operator exists, return null;
HasFileURL
boolean HasFileURL()
- Returns:
- true if a URL to the remote class file exists
getOpDirectoryURL
public java.net.URL getOpDirectoryURL()
- Parse the operator url to get a path to the directory where the operator
resides. If complete url is:
http://myserver/java.class
returns
http://myserver/
- Returns:
- URL path to directory where operator resides
getOpClassName
public java.lang.String getOpClassName()
- Returns:
- name of the class files from the remote URL
e.g. if url is http://myserver/java.class
returns java.class
getOpJavaPath
public java.lang.String getOpJavaPath()