All Packages Class Hierarchy This Package Previous Next Index
Class javax.ejb.deployment.MethodDescriptor
java.lang.Object
|
+----javax.ejb.deployment.MethodDescriptor
- public class MethodDescriptor
- extends Object
The MethodDescriptor is used to provide deployment information specific
to a single method. The method-level information overrides any information
set at the enterprise bean-level.
A MethodDescriptor can be provided for the following methods
of a session enterprise bean class: ejbCreate(...), ejbDestroy(),
and any business method.
A MethodDescriptor can be provided for the following methods
of an entity enterprise bean class: ejbCreate(...), ejbDestroy(),
ejbFindMETHOD(...), and any business method.
-
MethodDescriptor(Method)
- Construct a MethodDescriptor for a given Method.
-
getMethod()
- Get the Method to which this MethodDescriptor applies.
-
getSecurityDescriptor()
- Get the SecurityDescriptor for the method.
-
getTransactionAttribute()
- Get the transaction attribute for the method.
-
setSecurityDescriptor(SecurityDescriptor)
- Set the SecurityDescriptor for the method.
-
setTransactionAttribute(int)
- Set the transaction attribute for the method.
MethodDescriptor
public MethodDescriptor(Method method)
- Construct a MethodDescriptor for a given Method.
getMethod
public Method getMethod()
- Get the Method to which this MethodDescriptor applies.
- Returns:
- The Method associated with this MethodDescriptor.
getTransactionAttribute
public int getTransactionAttribute()
- Get the transaction attribute for the method.
- Returns:
- The transaction attribute for the method.
setTransactionAttribute
public void setTransactionAttribute(int value)
- Set the transaction attribute for the method.
- Parameters:
- value - The transaction attribute for the method.
getSecurityDescriptor
public SecurityDescriptor getSecurityDescriptor()
- Get the SecurityDescriptor for the method.
- Returns:
- The SecurityDescriptor for the method.
setSecurityDescriptor
public void setSecurityDescriptor(SecurityDescriptor value)
- Set the SecurityDescriptor for the method.
- Parameters:
- value - The SecurityDescriptore for the method.
All Packages Class Hierarchy This Package Previous Next Index