org.jboss.ejb3.proxy.impl.factory.session.stateless
Class StatelessSessionLocalProxyFactory

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
      extended by org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
          extended by org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionProxyFactoryBase
              extended by org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionLocalProxyFactory
All Implemented Interfaces:
ProxyFactory, SessionProxyFactory, SessionSpecProxyFactory

public class StatelessSessionLocalProxyFactory
extends StatelessSessionProxyFactoryBase
implements SessionSpecProxyFactory

StatelessSessionLocalProxyFactory A SLSB Proxy Factory for Local Views

Version:
$Revision: $
Author:
ALR

Constructor Summary
StatelessSessionLocalProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, ClassLoader classloader, org.jboss.aop.Advisor advisor)
          Constructor
 
Method Summary
protected  SessionProxyInvocationHandler createBusinessDefaultInvocationHandler()
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Default proxy
protected  SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(String businessInterfaceName)
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Interface-specific proxy
protected  SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler()
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for an EJB2.x Component Interface proxy
protected  SessionProxyInvocationHandler createHomeInvocationHandler()
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for am EJB2.x Home proxy
protected  Set<String> getBusinessInterfaceTypes()
          Returns the a Set of String representations of the Business Interface Types
protected  String getEjb2xInterfaceType()
          Returns the String representation of the EJB.2x Interface Type
protected  String getHomeType()
          Returns the String representation of the Home Interface Type
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionProxyFactoryBase
getReturnTypesFromCreateMethods
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
createProxyBusiness, createProxyDefault, createProxyEjb2x, createProxyHome, getConstructorProxyDefault, getConstructorProxyEjb2x, getConstructorProxyHome, getConstructorsProxySpecificBusinessInterface, getMetadata, getReturnTypesFromCreateMethods, setConstructorProxyDefault, setConstructorProxyEjb2x, setConstructorProxyHome, setConstructorsProxySpecificBusinessInterface, setMetadata, start, stop
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
createProxyConstructor, getAdvisor, getClassLoader, getCommonProxyInterfaces, getContainerGuid, getContainerName, getInterceptors, getInterceptorStackName, getName, setClassLoader, setContainerName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.SessionSpecProxyFactory
createProxyBusiness, createProxyEjb2x, createProxyHome
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory
createProxyDefault
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
getName, start, stop
 

Constructor Detail

StatelessSessionLocalProxyFactory

public StatelessSessionLocalProxyFactory(String name,
                                         String containerName,
                                         String containerGuid,
                                         org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
                                         ClassLoader classloader,
                                         org.jboss.aop.Advisor advisor)
Constructor

Parameters:
name - The unique name for this ProxyFactory
containerName - The name of the InvokableContext (container) upon which Proxies will invoke
containerGuid - The globally-unique name of the container
metadata - The metadata representing this SLSB
classloader - The ClassLoader associated with the StatelessContainer for which this ProxyFactory is to generate Proxies
advisor - The Advisor for proxies created by this factory
Method Detail

getBusinessInterfaceTypes

protected final Set<String> getBusinessInterfaceTypes()
Returns the a Set of String representations of the Business Interface Types

Specified by:
getBusinessInterfaceTypes in class SessionProxyFactoryBase
Returns:

getHomeType

protected final String getHomeType()
Returns the String representation of the Home Interface Type

Specified by:
getHomeType in class SessionProxyFactoryBase
Returns:

getEjb2xInterfaceType

protected final String getEjb2xInterfaceType()
Returns the String representation of the EJB.2x Interface Type

Specified by:
getEjb2xInterfaceType in class SessionProxyFactoryBase
Returns:

createBusinessInterfaceSpecificInvocationHandler

protected SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(String businessInterfaceName)
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Interface-specific proxy

Specified by:
createBusinessInterfaceSpecificInvocationHandler in class SessionProxyFactoryBase
Returns:

createBusinessDefaultInvocationHandler

protected SessionProxyInvocationHandler createBusinessDefaultInvocationHandler()
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Default proxy

Specified by:
createBusinessDefaultInvocationHandler in class SessionProxyFactoryBase
Returns:

createEjb2xComponentInterfaceInvocationHandler

protected SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler()
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for an EJB2.x Component Interface proxy

Specified by:
createEjb2xComponentInterfaceInvocationHandler in class SessionProxyFactoryBase
Returns:

createHomeInvocationHandler

protected SessionProxyInvocationHandler createHomeInvocationHandler()
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for am EJB2.x Home proxy

Specified by:
createHomeInvocationHandler in class SessionProxyFactoryBase
Returns:


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