org.obe.client.api.repository
Class JavaApplicationMetaData

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

public final class JavaApplicationMetaData
extends JavaMethodMetaData

Describes a ToolAgent that invokes the main method of a Java class.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.JavaMethodMetaData
_className, _method, _methodSig
 
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
JavaApplicationMetaData()
           
JavaApplicationMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String className, boolean fork)
           
 
Method Summary
 boolean getFork()
           
 java.lang.String getHref()
           
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 java.lang.String getMethod()
           
 java.lang.String[] getMethodSig()
           
 ToolAgentMetaData introspect(ExternalReference extRef, org.xml.sax.EntityResolver entityResolver)
          Introspects a reference to an externally defined tool or service.
 boolean isFork()
           
 void setFork(boolean fork)
           
 void setHref(java.lang.String href)
           
 void setMethod(java.lang.String method)
           
 void setMethodSig(java.lang.String[] methodSig)
           
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.repository.JavaMethodMetaData
getClassName, init, setClassName
 
Methods inherited from class org.obe.client.api.repository.ToolAgentMetaData
createInstance, createInstance, getFormalParameter, 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

JavaApplicationMetaData

public JavaApplicationMetaData()

JavaApplicationMetaData

public JavaApplicationMetaData(java.lang.String id,
                               java.lang.String displayName,
                               java.lang.String description,
                               java.lang.String docUrl,
                               java.lang.String author,
                               java.lang.String className,
                               boolean fork)
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.

Overrides:
introspect in class JavaMethodMetaData

getMethod

public java.lang.String getMethod()
Overrides:
getMethod in class JavaMethodMetaData

setMethod

public void setMethod(java.lang.String method)
Overrides:
setMethod in class JavaMethodMetaData

getMethodSig

public java.lang.String[] getMethodSig()
Overrides:
getMethodSig in class JavaMethodMetaData

setMethodSig

public void setMethodSig(java.lang.String[] methodSig)
Overrides:
setMethodSig in class JavaMethodMetaData

getImplClass

protected java.lang.String getImplClass()
Overrides:
getImplClass in class JavaMethodMetaData

getImplCtorSig

protected java.lang.String[] getImplCtorSig()
Overrides:
getImplCtorSig in class JavaMethodMetaData

isFork

public boolean isFork()

getFork

public boolean getFork()

setFork

public void setFork(boolean fork)

getHref

public java.lang.String getHref()

setHref

public void setHref(java.lang.String href)

toString

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


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