| java.lang.Object org.ow2.easybeans.container.mdb.helper.MDBResourceAdapterHelper
MDBResourceAdapterHelper | final public class MDBResourceAdapterHelper (Code) | | This class allow to get the ResourceAdapter object for a given destination
(activation-spec object).
author: Florent Benoit |
getResourceAdapter | public static ResourceAdapter getResourceAdapter(String jndiName, Embedded embedded) throws ResourceException(Code) | | Gets the resource adapter object for the given jndi name (activation
spec) and the given embedded object.
Parameters: jndiName - the nameof the activation spec bound in the registry Parameters: embedded - the embedded server an instance of the resource adapter that provides the MDBactivation spec. throws: ResourceException - if an error occurs while trying to get theresource adapter. |
setResourceAdapterFinder | public static void setResourceAdapterFinder(IResourceAdapterFinder finder)(Code) | | Sets the finder object that can be used to get the resource adapter object.
Parameters: finder - the given instance. |
|
|