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 Object
implements org.jboss.ejb3.endpoint.Endpoint, org.jboss.ejb3.endpoint.SessionFactory

Version:
$Revision: $
Author:
Carlo de Wolf

Constructor Summary
EndpointImpl()
           
 
Method Summary
 Serializable createSession(Class<?>[] initTypes, Object[] initValues)
           
 void destroySession(Serializable session)
           
 org.jboss.ejb3.endpoint.SessionFactory getSessionFactory()
           
 Object invoke(Serializable session, Class<?> invokedBusinessInterface, Method method, 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 Serializable createSession(Class<?>[] initTypes,
                                  Object[] initValues)
Specified by:
createSession in interface org.jboss.ejb3.endpoint.SessionFactory

destroySession

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

getSessionFactory

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

invoke

public Object invoke(Serializable session,
                     Class<?> invokedBusinessInterface,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface org.jboss.ejb3.endpoint.Endpoint
Throws:
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)


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.