org.ow2.easybeans.resolver.api
Interface EZBRemoteJNDIResolver

All Superinterfaces:
Remote

public interface EZBRemoteJNDIResolver
extends Remote

Interface used by Remote clients in order to get JNDI Name for a given set of attributes like Interface name, Bean name and/or application name.

Author:
Florent Benoit

Method Summary
 List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName)
          Allows to find EJB JNDI name.
 List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName, String beanName)
          Allows to find EJB JNDI name.
 List<EZBJNDIData> getMessageDestinationJNDINames(String messageDestinationName)
          Allows to find Message Destination JNDI name.
 

Method Detail

getEJBJNDINames

List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName)
                                      throws RemoteException
Allows to find EJB JNDI name.

Parameters:
interfaceName - the name of the interface that EJBs are implementing.
Returns:
a list of matching JNDI objects for the given interface and bean name.
Throws:
RemoteException - if RMI communication is failing.

getEJBJNDINames

List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName,
                                      String beanName)
                                      throws RemoteException
Allows to find EJB JNDI name.

Parameters:
interfaceName - the name of the interface that EJBs are implementing.
beanName - the name of the bean on which we need to find JNDI name.
Returns:
a list of matching JNDI objects for the given interface and bean name.
Throws:
RemoteException - if RMI communication is failing.

getMessageDestinationJNDINames

List<EZBJNDIData> getMessageDestinationJNDINames(String messageDestinationName)
                                                 throws RemoteException
Allows to find Message Destination JNDI name.

Parameters:
messageDestinationName - the name of the message destination.
Returns:
a list of matching JNDI objects for the given message destination name.
Throws:
RemoteException - if RMI communication is failing.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.