org.obe.client.api.repository
Class NativeExecutableMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ToolAgentMetaData
          extended byorg.obe.client.api.repository.NativeExecutableMetaData
All Implemented Interfaces:
java.io.Serializable

public final class NativeExecutableMetaData
extends ToolAgentMetaData

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.ToolAgentMetaData
_formalParameters
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
Constructor Summary
NativeExecutableMetaData()
           
NativeExecutableMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String[] args, java.lang.String[] env, java.lang.String dir)
           
 
Method Summary
 java.lang.String[] getArg()
           
 java.lang.String getDir()
           
 java.lang.String[] getEnv()
           
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 ToolAgentMetaData introspect(ExternalReference extRef, org.xml.sax.EntityResolver entityResolver)
          Introspects a reference to an externally defined tool or service.
 void setArg(java.lang.String[] arg)
           
 void setDir(java.lang.String dir)
           
 void setEnv(java.lang.String[] env)
           
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.repository.ToolAgentMetaData
createInstance, createInstance, getFormalParameter, init, setFormalParameter
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NativeExecutableMetaData

public NativeExecutableMetaData()

NativeExecutableMetaData

public NativeExecutableMetaData(java.lang.String id,
                                java.lang.String displayName,
                                java.lang.String description,
                                java.lang.String docUrl,
                                java.lang.String author,
                                java.lang.String[] args,
                                java.lang.String[] env,
                                java.lang.String dir)
Method Detail

introspect

public ToolAgentMetaData introspect(ExternalReference extRef,
                                    org.xml.sax.EntityResolver entityResolver)
Description copied from class: ToolAgentMetaData
Introspects a reference to an externally defined tool or service. If the associated tool agent type can handle the reference, the method returns the meta-data required to instantiate such a tool agent.

Specified by:
introspect in class ToolAgentMetaData
Parameters:
extRef - The external tool reference.
entityResolver -
Returns:
Configured tool meta-data, or null if this tool type cannot handle this reference.

getImplClass

protected java.lang.String getImplClass()
Specified by:
getImplClass in class AbstractMetaData

getImplCtorSig

protected java.lang.String[] getImplCtorSig()
Specified by:
getImplCtorSig in class AbstractMetaData

getArg

public java.lang.String[] getArg()

setArg

public void setArg(java.lang.String[] arg)

getEnv

public java.lang.String[] getEnv()

setEnv

public void setEnv(java.lang.String[] env)

getDir

public java.lang.String getDir()

setDir

public void setDir(java.lang.String dir)

toString

public java.lang.String toString()
Overrides:
toString in class ToolAgentMetaData


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.