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.


Constructor Index

 o MethodDescriptor(Method)
Construct a MethodDescriptor for a given Method.

Method Index

 o getMethod()
Get the Method to which this MethodDescriptor applies.
 o getSecurityDescriptor()
Get the SecurityDescriptor for the method.
 o getTransactionAttribute()
Get the transaction attribute for the method.
 o setSecurityDescriptor(SecurityDescriptor)
Set the SecurityDescriptor for the method.
 o setTransactionAttribute(int)
Set the transaction attribute for the method.

Constructors

 o MethodDescriptor
 public MethodDescriptor(Method method)
Construct a MethodDescriptor for a given Method.

Methods

 o getMethod
 public Method getMethod()
Get the Method to which this MethodDescriptor applies.

Returns:
The Method associated with this MethodDescriptor.
 o getTransactionAttribute
 public int getTransactionAttribute()
Get the transaction attribute for the method.

Returns:
The transaction attribute for the method.
 o setTransactionAttribute
 public void setTransactionAttribute(int value)
Set the transaction attribute for the method.

Parameters:
value - The transaction attribute for the method.
 o getSecurityDescriptor
 public SecurityDescriptor getSecurityDescriptor()
Get the SecurityDescriptor for the method.

Returns:
The SecurityDescriptor for the method.
 o 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