org.objectweb.jonas_ejb.container.JServiceEndpointHome Class Reference

Collaboration diagram for org.objectweb.jonas_ejb.container.JServiceEndpointHome:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JServiceEndpointHome (SessionStatelessDesc dd, JStatelessFactory bf)
JServiceEndpoint create () throws RemoteException
Context setCompCtx ()
void resetCompCtx (Context ctx)
void checkSecurity (MessageContext msgContext)
abstract JServiceEndpoint createServiceEndpointObject () throws RemoteException

Static Public Member Functions

JServiceEndpointHome getSEHome (String beanName)

Protected Member Functions

void register () throws NamingException
void unregister () throws NamingException

Static Protected Attributes

Logger logger = Log.getLogger(Log.JONAS_WS_EJBPROVIDER_PREFIX)

Detailed Description

This class is a factory for JServiceEndpoint objects.
Author:
Philippe Durieux

Definition at line 48 of file JServiceEndpointHome.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JServiceEndpointHome.JServiceEndpointHome SessionStatelessDesc  dd,
JStatelessFactory  bf
 

constructor

Parameters:
dd The Session Deployment Decriptor
bf The Session Factory

Definition at line 68 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.bf.


Member Function Documentation

void org.objectweb.jonas_ejb.container.JServiceEndpointHome.checkSecurity MessageContext  msgContext  ) 
 

Check security with the Meesage Context

Definition at line 168 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.container.JFactory.getEJBName(), and org.objectweb.jonas_ejb.lib.EJBInvocation.methodPermissionSignature.

Referenced by org.objectweb.jonas.ws.axis.JonasHandler.invoke().

Here is the call graph for this function:

JServiceEndpoint org.objectweb.jonas_ejb.container.JServiceEndpointHome.create  )  throws RemoteException
 

unique create method

Definition at line 118 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.container.JStatelessSwitch.getServiceEndpoint(), org.objectweb.jonas_ejb.container.JFactory.postInvoke(), org.objectweb.jonas_ejb.container.JFactory.preInvoke(), and org.objectweb.jonas_ejb.container.RequestCtx.sysExc.

Referenced by org.objectweb.jonas.ws.axis.JOnASEJBProvider.makeNewServiceObject().

Here is the call graph for this function:

abstract JServiceEndpoint org.objectweb.jonas_ejb.container.JServiceEndpointHome.createServiceEndpointObject  )  throws RemoteException [pure virtual]
 

Returns:
A JServiceEndpoint that can be used by the JonasEJBProvider

JServiceEndpointHome org.objectweb.jonas_ejb.container.JServiceEndpointHome.getSEHome String  beanName  )  [static]
 

Get JServiceEndpointHome by its name used by HomeFactory to retrieve object from its reference.

Parameters:
beanName The Bean JNDI local Name
Returns:
The Bean ServiceEndpointHome

Definition at line 109 of file JServiceEndpointHome.java.

void org.objectweb.jonas_ejb.container.JServiceEndpointHome.register  )  throws NamingException [protected]
 

register this bean to JNDI (rebind) We register actually a Reference object.

Definition at line 78 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.getInitialContext(), and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getJndiServiceEndpointName().

Referenced by org.objectweb.jonas_ejb.container.JStatelessFactory.JStatelessFactory().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JServiceEndpointHome.resetCompCtx Context  ctx  ) 
 

Restore old value

Returns:
previous Context

Definition at line 158 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.resetComponentContext().

Referenced by org.objectweb.jonas.ws.axis.JonasHandler.invoke(), and org.objectweb.jonas.ws.axis.JonasHandler.onFault().

Here is the call graph for this function:

Context org.objectweb.jonas_ejb.container.JServiceEndpointHome.setCompCtx  ) 
 

Set the bean environment in current context

Returns:
previous Context

Definition at line 149 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.setComponentContext().

Referenced by org.objectweb.jonas.ws.axis.JonasHandler.invoke().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JServiceEndpointHome.unregister  )  throws NamingException [protected]
 

unregister this bean in JNDI (unbind)

Definition at line 94 of file JServiceEndpointHome.java.

References org.objectweb.jonas_ejb.container.JFactory.getInitialContext(), and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getJndiServiceEndpointName().

Here is the call graph for this function:


Member Data Documentation

Logger org.objectweb.jonas_ejb.container.JServiceEndpointHome.logger = Log.getLogger(Log.JONAS_WS_EJBPROVIDER_PREFIX) [static, protected]
 

Logger, used also in the generated part.

Definition at line 53 of file JServiceEndpointHome.java.

Referenced by org.objectweb.jonas_ejb.container.HomeFactory.getObjectInstance().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:10:35 2005 for JOnAS by  doxygen 1.3.9.1