org.jboss.ejb3.endpoint.deployers.impl
Class EndpointImpl

java.lang.Object
  extended by org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl
All Implemented Interfaces:
org.jboss.ejb3.endpoint.Endpoint, org.jboss.ejb3.endpoint.SessionFactory

public class EndpointImpl
extends java.lang.Object
implements org.jboss.ejb3.endpoint.Endpoint, org.jboss.ejb3.endpoint.SessionFactory


Constructor Summary
EndpointImpl()
           
 
Method Summary
 java.io.Serializable createSession(java.lang.Class<?>[] initTypes, java.lang.Object[] initValues)
           
 void destroySession(java.io.Serializable session)
           
 org.jboss.ejb3.endpoint.SessionFactory getSessionFactory()
           
 java.lang.Object invoke(java.io.Serializable session, java.lang.Class<?> invokedBusinessInterface, java.lang.reflect.Method method, java.lang.Object[] args)
           
 boolean isSessionAware()
           
 void setContainer(org.jboss.ejb3.proxy.spi.container.InvokableContext container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointImpl

public EndpointImpl()
Method Detail

createSession

public java.io.Serializable createSession(java.lang.Class<?>[] initTypes,
                                          java.lang.Object[] initValues)
Specified by:
createSession in interface org.jboss.ejb3.endpoint.SessionFactory

destroySession

public void destroySession(java.io.Serializable session)
Specified by:
destroySession in interface org.jboss.ejb3.endpoint.SessionFactory

getSessionFactory

public org.jboss.ejb3.endpoint.SessionFactory getSessionFactory()
                                                         throws java.lang.IllegalStateException
Specified by:
getSessionFactory in interface org.jboss.ejb3.endpoint.Endpoint
Throws:
java.lang.IllegalStateException

invoke

public java.lang.Object invoke(java.io.Serializable session,
                               java.lang.Class<?> invokedBusinessInterface,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.jboss.ejb3.endpoint.Endpoint
Throws:
java.lang.Throwable

isSessionAware

public boolean isSessionAware()
Specified by:
isSessionAware in interface org.jboss.ejb3.endpoint.Endpoint

setContainer

public void setContainer(org.jboss.ejb3.proxy.spi.container.InvokableContext container)