org.ow2.jonas.resource
Interface Rar

All Known Implementing Classes:
Rar

public interface Rar

This interface is used for example in the ejb container library. It avoids a dependency on the Resource Service.

Author:
durieuxp

Method Summary
 void configureAS(ActivationSpec as, List acp, List jacp, String jndiname, String ejbName)
          Configure ActivationSpec
 String getInterface(String jndiname)
          Get the messagelistenerType
 ResourceAdapter getResourceAdapter()
           
 

Method Detail

getInterface

String getInterface(String jndiname)
Get the messagelistenerType

Parameters:
jndiname - jndi name of the Rar
Returns:
the String messagelistenerType

getResourceAdapter

ResourceAdapter getResourceAdapter()
Returns:
The associated ResourceAdapter

configureAS

void configureAS(ActivationSpec as,
                 List acp,
                 List jacp,
                 String jndiname,
                 String ejbName)
                 throws Exception
Configure ActivationSpec

Parameters:
as - ActivationSpec to be configured
acp - List of activation properties
jacp - List of JOnAS activation properties
jndiname - String destination desired
ejbName - ejb Name
Throws:
Exception


Copyright © 2010 OW2 Consortium. All Rights Reserved.