org.obe.client.api.repository
Class JavaMethodMetaData
java.lang.Object
org.obe.client.api.repository.AbstractMetaData
org.obe.client.api.repository.ToolAgentMetaData
org.obe.client.api.repository.JavaMethodMetaData
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EJBMethodMetaData, JavaApplicationMetaData
- public class JavaMethodMetaData
- extends ToolAgentMetaData
Describes a procedure implemented by a Java class.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Constructor Summary |
JavaMethodMetaData()
|
JavaMethodMetaData(java.lang.String id,
java.lang.String displayName,
java.lang.String description,
java.lang.String docUrl,
java.lang.String author,
java.lang.String clazz,
java.lang.String method,
java.lang.String[] methodArgTypes)
|
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 |
_className
protected java.lang.String _className
_method
protected java.lang.String _method
_methodSig
protected java.lang.String[] _methodSig
JavaMethodMetaData
public JavaMethodMetaData()
JavaMethodMetaData
public JavaMethodMetaData(java.lang.String id,
java.lang.String displayName,
java.lang.String description,
java.lang.String docUrl,
java.lang.String author,
java.lang.String clazz,
java.lang.String method,
java.lang.String[] methodArgTypes)
introspect
public ToolAgentMetaData introspect(ExternalReference extRef,
org.xml.sax.EntityResolver entityResolver)
throws RepositoryException
- 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.
- Throws:
RepositoryException
init
public void init()
- Description copied from class:
ToolAgentMetaData
- Provides an opportunity for metadata classes to perform post-load
initialization. The
ToolAgentFactory
calls this method on
each ToolAgentMetaData
object registered with it as part
of the final phase of initialization. Client code should not call
this method.
- Overrides:
init
in class ToolAgentMetaData
getImplClass
protected java.lang.String getImplClass()
- Specified by:
getImplClass
in class AbstractMetaData
getImplCtorSig
protected java.lang.String[] getImplCtorSig()
- Specified by:
getImplCtorSig
in class AbstractMetaData
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
getMethod
public java.lang.String getMethod()
setMethod
public void setMethod(java.lang.String method)
getMethodSig
public java.lang.String[] getMethodSig()
setMethodSig
public void setMethodSig(java.lang.String[] methodSig)
toString
public java.lang.String toString()
- Overrides:
toString
in class ToolAgentMetaData
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.