|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
org.jboss.ejb3.proxy.impl.factory.session.stateful.StatefulSessionProxyFactoryBase
public abstract class StatefulSessionProxyFactoryBase
StatefulSessionProxyFactoryBase Base upon which SFSB Proxy Factories may build
Constructor Summary | |
---|---|
StatefulSessionProxyFactoryBase(String name,
String containerName,
String containerGuid,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
ClassLoader classloader,
org.jboss.aop.Advisor advisor)
Constructor |
Method Summary | |
---|---|
protected void |
associateProxyWithSession(Object proxy,
Serializable sessionId)
Associates the specified Proxy with the session denoted by the specified sessionId |
Object |
createProxyBusiness(Serializable sessionId,
String businessInterfaceName)
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name) |
Object |
createProxyBusiness(String businessInterfaceName)
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name) |
Object |
createProxyDefault()
Create an EJB3 Business proxy with no specific target business interface. |
Object |
createProxyDefault(Serializable sessionId)
Create an EJB3 Business proxy with no specific target business interface. |
Object |
createProxyEjb2x()
Create an EJB2.x Proxy |
Object |
createProxyEjb2x(Serializable sessionId)
Create an EJB2.x Proxy |
Object |
createProxyHome()
Create an EJB2.x Home Proxy |
org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory |
getContainer()
|
protected Serializable |
getNewSessionId()
Creates a new Session on the container and returns the ID representing this newly-created session |
protected Set<Class<?>> |
getReturnTypesFromCreateMethods(Class<?> homeInterface)
Deprecated. http://jira.jboss.com/jira/browse/JBMETA-41 |
protected org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory |
obtainContainer()
Obtains the Container used by this Proxy Factory |
void |
setContainer(org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory container)
|
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.ProxyFactory |
---|
getName, start, stop |
Constructor Detail |
---|
public StatefulSessionProxyFactoryBase(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, ClassLoader classloader, org.jboss.aop.Advisor advisor)
name
- The unique name for this ProxyFactorycontainerName
- The name of the InvokableContext (container)
upon which Proxies will invokecontainerGuid
- The globally-unique name of the containermetadata
- The metadata representing this SFSBclassloader
- The ClassLoader associated with the StatelessContainer
for which this ProxyFactory is to generate Proxiesadvisor
- The Advisor for proxies created by this factoryMethod Detail |
---|
@Deprecated protected Set<Class<?>> getReturnTypesFromCreateMethods(Class<?> homeInterface)
getReturnTypesFromCreateMethods
in class SessionProxyFactoryBase
homeInterface
-
public Object createProxyDefault()
createProxyDefault
in interface SessionProxyFactory
createProxyDefault
in class SessionProxyFactoryBase
public Object createProxyBusiness(String businessInterfaceName)
createProxyBusiness
in interface SessionSpecProxyFactory
createProxyBusiness
in class SessionProxyFactoryBase
businessInterfaceName
-
public Object createProxyEjb2x()
createProxyEjb2x
in interface SessionSpecProxyFactory
createProxyEjb2x
in class SessionProxyFactoryBase
public Object createProxyHome()
createProxyHome
in interface SessionSpecProxyFactory
createProxyHome
in interface StatefulSessionProxyFactory
createProxyHome
in class SessionProxyFactoryBase
sessionId
-
public Object createProxyDefault(Serializable sessionId)
createProxyDefault
in interface StatefulSessionProxyFactory
sessionId
-
public Object createProxyBusiness(Serializable sessionId, String businessInterfaceName)
createProxyBusiness
in interface StatefulSessionProxyFactory
sessionId
- businessInterfaceName
-
public Object createProxyEjb2x(Serializable sessionId)
createProxyEjb2x
in interface StatefulSessionProxyFactory
sessionId
-
protected void associateProxyWithSession(Object proxy, Serializable sessionId)
proxy
- sessionId
- protected Serializable getNewSessionId()
protected org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory obtainContainer()
public org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory getContainer()
public void setContainer(org.jboss.ejb3.proxy.spi.container.StatefulSessionFactory container)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |