org.ow2.easybeans.resolver.api
Interface EZBApplicationJNDIResolver

All Superinterfaces:
EZBJNDIResolver

public interface EZBApplicationJNDIResolver
extends EZBJNDIResolver

Resolver allowing to find matching JNDI names for containers of the same EAR.

Author:
Florent Benoit

Method Summary
 void addContainerJNDIResolver(EZBContainerJNDIResolver containerJNDIResolver)
          Add a child container JNDI Resolver.
 List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName, String beanName, URL ejbLinkURL)
          Allows to find EJB JNDI name.
 
Methods inherited from interface org.ow2.easybeans.resolver.api.EZBJNDIResolver
getEJBJNDINames, getEJBJNDINames, getEJBJNDIUniqueName, getMessageDestinationJNDINames, getMessageDestinationJNDIUniqueName
 

Method Detail

getEJBJNDINames

List<EZBJNDIBeanData> getEJBJNDINames(String interfaceName,
                                      String beanName,
                                      URL ejbLinkURL)
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.
ejbLinkURL - the optional URL for the container that should include the bean name.
Returns:
a list of matching JNDI objects for the given interface.

addContainerJNDIResolver

void addContainerJNDIResolver(EZBContainerJNDIResolver containerJNDIResolver)
Add a child container JNDI Resolver.

Parameters:
containerJNDIResolver - the child resolver to add


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