|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.factory.ProxyFactoryBase
org.jboss.ejb3.proxy.factory.session.SessionProxyFactoryBase
org.jboss.ejb3.proxy.factory.session.stateful.StatefulSessionProxyFactoryBase
public abstract class StatefulSessionProxyFactoryBase
StatefulSessionProxyFactoryBase Base upon which SFSB Proxy Factories may build
| Constructor Summary | |
|---|---|
StatefulSessionProxyFactoryBase(java.lang.String name,
java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
java.lang.ClassLoader classloader,
org.jboss.aop.Advisor advisor)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
associateProxyWithSession(java.lang.Object proxy,
java.io.Serializable sessionId)
Associates the specified Proxy with the session denoted by the specified sessionId |
java.lang.Object |
createProxyBusiness(java.io.Serializable sessionId,
java.lang.String businessInterfaceName)
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name) |
java.lang.Object |
createProxyBusiness(java.lang.String businessInterfaceName)
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name) |
java.lang.Object |
createProxyDefault()
Create an EJB3 Business proxy with no specific target business interface. |
java.lang.Object |
createProxyDefault(java.io.Serializable sessionId)
Create an EJB3 Business proxy with no specific target business interface. |
java.lang.Object |
createProxyEjb2x()
Create an EJB2.x Proxy |
java.lang.Object |
createProxyEjb2x(java.io.Serializable sessionId)
Create an EJB2.x Proxy |
java.lang.Object |
createProxyHome()
Create an EJB2.x Home Proxy |
protected java.util.Set<java.lang.Class<?>> |
getCommonProxyInterfaces()
Returns Proxy interfaces common to all Proxies generated by this ProxyFactory |
StatefulSessionInvokableContext |
getContainer()
|
protected java.io.Serializable |
getNewSessionId()
Creates a new Session on the container and returns the ID representing this newly-created session |
protected java.util.Set<java.lang.Class<?>> |
getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface)
Deprecated. http://jira.jboss.com/jira/browse/JBMETA-41 |
protected StatefulSessionInvokableContext |
obtainContainer()
Obtains the Container used by this Proxy Factory |
void |
setContainer(StatefulSessionInvokableContext container)
|
| Methods inherited from class org.jboss.ejb3.proxy.factory.ProxyFactoryBase |
|---|
createProxyConstructor, getAdvisor, getClassLoader, 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.factory.ProxyFactory |
|---|
getName, start, stop |
| Constructor Detail |
|---|
public StatefulSessionProxyFactoryBase(java.lang.String name,
java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
java.lang.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 factory| Method Detail |
|---|
@Deprecated protected java.util.Set<java.lang.Class<?>> getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface)
getReturnTypesFromCreateMethods in class SessionProxyFactoryBasehomeInterface -
protected java.util.Set<java.lang.Class<?>> getCommonProxyInterfaces()
getCommonProxyInterfaces in class SessionProxyFactoryBasepublic java.lang.Object createProxyDefault()
createProxyDefault in interface SessionProxyFactorycreateProxyDefault in class SessionProxyFactoryBasepublic java.lang.Object createProxyBusiness(java.lang.String businessInterfaceName)
createProxyBusiness in interface SessionProxyFactorycreateProxyBusiness in class SessionProxyFactoryBasebusinessInterfaceName -
public java.lang.Object createProxyEjb2x()
createProxyEjb2x in interface SessionProxyFactorycreateProxyEjb2x in class SessionProxyFactoryBasepublic java.lang.Object createProxyHome()
createProxyHome in interface SessionProxyFactorycreateProxyHome in interface StatefulSessionProxyFactorycreateProxyHome in class SessionProxyFactoryBasesessionId -
public java.lang.Object createProxyDefault(java.io.Serializable sessionId)
createProxyDefault in interface StatefulSessionProxyFactorysessionId -
public java.lang.Object createProxyBusiness(java.io.Serializable sessionId,
java.lang.String businessInterfaceName)
createProxyBusiness in interface StatefulSessionProxyFactorysessionId - businessInterfaceName -
public java.lang.Object createProxyEjb2x(java.io.Serializable sessionId)
createProxyEjb2x in interface StatefulSessionProxyFactorysessionId -
protected void associateProxyWithSession(java.lang.Object proxy,
java.io.Serializable sessionId)
proxy - sessionId - protected java.io.Serializable getNewSessionId()
protected StatefulSessionInvokableContext obtainContainer()
public StatefulSessionInvokableContext getContainer()
public void setContainer(StatefulSessionInvokableContext container)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||