|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.EJBInvocationDescriptor
Describes and implements the invocation of a method in an arbitrary Enterprise Java Bean. It is used to obtain a remote reference to an EJB and invoke a remote method thereon.
ClassDescriptor
,
ClassInvocationDescriptor
,
EJBDescriptor
, Serialized FormConstructor Summary | |
EJBInvocationDescriptor()
Create a new EJB descriptor object. |
|
EJBInvocationDescriptor(java.lang.String description,
EJBDescriptor beanDescriptor,
MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
MethodDescriptor remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions)
Create a new EJB descriptor object. |
Method Summary | |
java.lang.String |
getDescription()
Return the human-readable bean description. |
java.lang.String |
getEJBDeploymentName()
Return the EJB deployment name. |
MethodDescriptor |
getEJBHomeMethod()
Return the home method to invoke. |
java.lang.String |
getEJBHomeName()
Return the home interface name. |
java.lang.String |
getEJBPrimaryKeyName()
Return the primary key class name. |
MethodDescriptor |
getEJBRemoteMethod()
Return the remote method to invoke. |
java.lang.String |
getEJBRemoteName()
Return the remote interface name. |
java.lang.String[] |
getHomeParmsDescriptions()
Return the parameter descriptions for the home method to invoke. |
java.lang.String |
getId()
Return the system-assigned unique identifier. |
java.lang.String[] |
getRemoteParmsDescriptions()
Return the parameter descriptions for the remote method to invoke. |
java.lang.String |
getReturnTypeName()
Get the remote method return type. |
java.lang.Object |
invoke(java.util.Properties environment,
java.lang.Object[] ejbHomeParameters,
java.lang.Object[] ejbRemoteParameters)
Create a remote object reference; then, invoke a method on it. |
java.lang.Object |
invokeHomeMethod(java.util.Properties environment,
java.lang.Object[] ejbHomeParameters)
Create a home object reference; then, invoke a method on it. |
java.lang.Object |
invokeRemoteMethod(java.lang.Object remoteObject,
java.lang.Object[] ejbRemoteParameters)
Invoke a method on a remote object. |
boolean |
isFullyFormed()
Check whether this descriptor has all required values set. |
boolean |
isVerbose()
Check whether the invokeXXX() methods emit debugging
messages. |
void |
set(java.lang.String description,
EJBDescriptor beanDescriptor,
MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
MethodDescriptor remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions)
Set descriptor values. |
void |
setEJBDeploymentName(java.lang.String deploymentName)
Set the EJB deployment name. |
void |
setEJBHomeMethod(MethodDescriptor ejbHomeMethod)
Set the home method to invoke. |
void |
setEJBHomeName(java.lang.String ejbHomeName)
Set the home interface name. |
void |
setEJBPrimaryKeyName(java.lang.String ejbPrimaryKeyName)
Set the primary key class name. |
void |
setEJBRemoteMethod(MethodDescriptor ejbRemoteMethod)
Set the remote method to invoke. |
void |
setEJBRemoteName(java.lang.String ejbRemoteName)
Set the remote interface name. |
void |
setId(java.lang.String id)
Set the unique identifier. |
void |
setVerbose(boolean verbose)
Set whether the invokeXXX() methods emit debugging
messages. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EJBInvocationDescriptor()
public EJBInvocationDescriptor(java.lang.String description, EJBDescriptor beanDescriptor, MethodDescriptor homeMethodDescriptor, java.lang.String[] homeParmDescriptions, MethodDescriptor remoteMethodDescriptor, java.lang.String[] remoteParmDescriptions)
description
- Human-readable bean description.beanDescriptor
- Meta-data describing the bean in question.homeMethodDescriptor
- Meta-data for home method to invoke.homeParmDescriptions
- Home method parameter descriptions.remoteMethodDescriptor
- Meta-data for remote method to invoke.remoteParmDescriptions
- Remote method parameter descriptions.Method Detail |
public final java.lang.String getId()
setId(java.lang.String)
public void setId(java.lang.String id)
id
- The unique identifier.getId()
public void set(java.lang.String description, EJBDescriptor beanDescriptor, MethodDescriptor homeMethodDescriptor, java.lang.String[] homeParmDescriptions, MethodDescriptor remoteMethodDescriptor, java.lang.String[] remoteParmDescriptions)
description
- Human-readable bean description.beanDescriptor
- Meta-data describing the bean in question.homeMethodDescriptor
- Meta-data for home method to invoke.homeParmDescriptions
- Home method parameter descriptions.remoteMethodDescriptor
- Meta-data for remote method to invoke.remoteParmDescriptions
- Remote method parameter descriptions.public void setVerbose(boolean verbose)
invokeXXX()
methods emit debugging
messages.verbose
- true
to emit messages.isVerbose()
public boolean isVerbose()
invokeXXX()
methods emit debugging
messages.true
if the invokeXXX()
methods emit
debugging messages.setVerbose(boolean)
public java.lang.Object invoke(java.util.Properties environment, java.lang.Object[] ejbHomeParameters, java.lang.Object[] ejbRemoteParameters) throws WorkflowException
java.lang.*
object (e.g., int
is passed using
a java.lang.Integer
object, long
using a
java.lang.Long
, etc.).environment
- Environment settings for initial JNDI context used to
look up the home interface.ejbHomeParameters
- Actual parameter values for home method.ejbRemoteParameters
- Actual parameter values for remote method.invokeHomeMethod(java.util.Properties, java.lang.Object[])
,
invokeRemoteMethod(java.lang.Object, java.lang.Object[])
public java.lang.Object invokeHomeMethod(java.util.Properties environment, java.lang.Object[] ejbHomeParameters) throws WorkflowException
java.lang.*
object (e.g., int
is passed using
a java.lang.Integer
object, long
using a
java.lang.Long
, etc.).environment
- Environment settings for initial JNDI context used to
look up the home interface.ejbHomeParameters
- Actual parameter values for home method.invoke(java.util.Properties, java.lang.Object[], java.lang.Object[])
,
invokeRemoteMethod(java.lang.Object, java.lang.Object[])
public java.lang.Object invokeRemoteMethod(java.lang.Object remoteObject, java.lang.Object[] ejbRemoteParameters) throws WorkflowException
java.lang.*
object (e.g., int
is passed using
a java.lang.Integer
object, long
using a
java.lang.Long
, etc.).remoteObject
- Remote object on which to invoke the method.ejbRemoteParameters
- Actual parameter values for remote method.invoke(java.util.Properties, java.lang.Object[], java.lang.Object[])
,
invokeHomeMethod(java.util.Properties, java.lang.Object[])
public boolean isFullyFormed()
true
if all required values are set.public java.lang.String getReturnTypeName()
public final java.lang.String getDescription()
public final java.lang.String[] getHomeParmsDescriptions()
public final java.lang.String[] getRemoteParmsDescriptions()
public void setEJBDeploymentName(java.lang.String deploymentName)
ejbDeploymentName
- The name under which the EJB was deployed.getEJBDeploymentName()
public java.lang.String getEJBDeploymentName()
setEJBDeploymentName(java.lang.String)
public void setEJBHomeName(java.lang.String ejbHomeName)
ejbHomeName
- The fully qualified name of the EJB's home interface.getEJBHomeName()
public java.lang.String getEJBHomeName()
setEJBHomeName(java.lang.String)
public void setEJBPrimaryKeyName(java.lang.String ejbPrimaryKeyName)
ejbPrimaryKeyName
- The fully qualified name of the EJB's primary
key class.getEJBPrimaryKeyName()
public java.lang.String getEJBPrimaryKeyName()
setEJBPrimaryKeyName(java.lang.String)
public void setEJBHomeMethod(MethodDescriptor ejbHomeMethod)
ejbHomeMethod
- Descriptor for the home method to invoke.getEJBHomeMethod()
public MethodDescriptor getEJBHomeMethod()
setEJBHomeMethod(com.bea.wlpi.common.MethodDescriptor)
public void setEJBRemoteName(java.lang.String ejbRemoteName)
ejbRemoteName
- The fully qualified name of the EJB's remote interface.getEJBRemoteName()
public java.lang.String getEJBRemoteName()
setEJBRemoteName(java.lang.String)
public void setEJBRemoteMethod(MethodDescriptor ejbRemoteMethod)
ejbRemoteName
- Descriptor for the remote method to invoke.getEJBRemoteMethod()
public MethodDescriptor getEJBRemoteMethod()
setEJBRemoteMethod(com.bea.wlpi.common.MethodDescriptor)
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |