org.ow2.jonas.ws.jaxws.easybeans
Class EasyBeansContextNamingInfo

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.easybeans.EasyBeansContextNamingInfo
All Implemented Interfaces:
IContextNamingInfo

public class EasyBeansContextNamingInfo
extends Object
implements IContextNamingInfo

The EasyBeansContextNamingInfo is an implementation of IContextNamingInfo for easybeans.

Author:
Guillaume Sauthier

Constructor Summary
EasyBeansContextNamingInfo(IEJBWebserviceEndpoint endpoint, org.ow2.easybeans.api.EZBContainer container, String beanName)
          Creates a new ContextNamingInfo structure dedicated to easybeans.
 
Method Summary
 String getApplicationName()
          Get J2EE Application name.
 String getBeanName()
          Get the name of the bean exposed as WS.
 String getContainerName()
          Get the name of the EJB container hosting the EJB exposed endpoint.
 IEJBWebserviceEndpoint getEndpoint()
          Get the endpoint for which the context needs to be created.
 String getRealmName()
          Get the realm name to use if this bean is secured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyBeansContextNamingInfo

public EasyBeansContextNamingInfo(IEJBWebserviceEndpoint endpoint,
                                  org.ow2.easybeans.api.EZBContainer container,
                                  String beanName)
Creates a new ContextNamingInfo structure dedicated to easybeans.

Parameters:
endpoint - WS endpoint.
container - EasyBeans container.
beanName - name of the bean.
Method Detail

getContainerName

public String getContainerName()
Get the name of the EJB container hosting the EJB exposed endpoint.

Specified by:
getContainerName in interface IContextNamingInfo
Returns:
the EJB container name

getApplicationName

public String getApplicationName()
Get J2EE Application name.

Specified by:
getApplicationName in interface IContextNamingInfo
Returns:
application name (is be null for standalone EjbJar)

getBeanName

public String getBeanName()
Get the name of the bean exposed as WS.

Specified by:
getBeanName in interface IContextNamingInfo
Returns:
bean's name

getRealmName

public String getRealmName()
Get the realm name to use if this bean is secured.

Specified by:
getRealmName in interface IContextNamingInfo
Returns:
a real name (may be null if the bean is not secured)

getEndpoint

public IEJBWebserviceEndpoint getEndpoint()
Get the endpoint for which the context needs to be created.

Specified by:
getEndpoint in interface IContextNamingInfo
Returns:
the WS endpoint.


Copyright © 2010 OW2 Consortium. All Rights Reserved.