|
|||||||||
| 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
public abstract class SessionProxyFactoryBase
SessionProxyFactoryBase Base upon which Session Proxy Factory implementations may build
| Constructor Summary | |
|---|---|
SessionProxyFactoryBase(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,
java.lang.String overrideInterceptorStackName)
Constructor |
|
| Method Summary | |
|---|---|
protected abstract SessionProxyInvocationHandler |
createBusinessDefaultInvocationHandler(java.io.Serializable target)
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 abstract SessionProxyInvocationHandler |
createBusinessInterfaceSpecificInvocationHandler(java.io.Serializable target,
java.lang.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 abstract SessionProxyInvocationHandler |
createEjb2xComponentInterfaceInvocationHandler(java.io.Serializable target)
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 abstract 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 |
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 |
createProxyDefault(java.io.Serializable sessionId)
Create an EJB3 Business proxy with no specific target business interface. |
java.lang.Object |
createProxyEjb2x(java.io.Serializable sessionId)
Create an EJB2.x Proxy |
java.lang.Object |
createProxyHome()
Create an EJB2.x Home Proxy |
protected abstract java.util.Set<java.lang.String> |
getBusinessInterfaceTypes()
Returns the a Set of String representations of the Business Interface Types |
protected java.lang.reflect.Constructor<?> |
getConstructorProxyDefault()
|
protected java.lang.reflect.Constructor<?> |
getConstructorProxyEjb2x()
|
protected java.lang.reflect.Constructor<?> |
getConstructorProxyHome()
|
protected java.util.Map<java.lang.String,java.lang.reflect.Constructor<?>> |
getConstructorsProxySpecificBusinessInterface()
|
protected abstract java.lang.String |
getEjb2xInterfaceType()
Returns the String representation of the EJB2.x Interface Types |
protected abstract java.lang.String |
getHomeType()
Returns the String representation of the Home Interface Type |
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData |
getMetadata()
|
protected abstract java.util.Set<java.lang.Class<?>> |
getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface)
Obtains the return types declared by the "create" methods for the specified home interface. |
protected java.util.Set<java.lang.Class<?>> |
getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface,
boolean isStateless)
Deprecated. http://jira.jboss.com/jira/browse/JBMETA-41 |
protected void |
setConstructorProxyDefault(java.lang.reflect.Constructor<?> constructorProxyDefault)
|
protected void |
setConstructorProxyEjb2x(java.lang.reflect.Constructor<?> constructorProxyEjb2x)
|
protected void |
setConstructorProxyHome(java.lang.reflect.Constructor<?> constructorProxyHome)
|
protected void |
setConstructorsProxySpecificBusinessInterface(java.util.Map<java.lang.String,java.lang.reflect.Constructor<?>> constructorsProxySpecificBusinessInterface)
|
protected void |
setMetadata(org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata)
|
void |
start()
Lifecycle callback to be invoked before the ProxyFactory is able to service requests |
void |
stop()
Lifecycle callback to be invoked by the ProxyFactoryDeployer before the ProxyFactory is taken out of service, possibly GC'd |
| Methods inherited from class org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase |
|---|
createProxyConstructor, getAdvisor, getClassLoader, getCommonProxyInterfaces, getContainerGuid, getContainerName, getDefaultInterceptorStackName, getInterceptors, 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 |
| 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 |
| Constructor Detail |
|---|
public SessionProxyFactoryBase(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,
java.lang.String overrideInterceptorStackName)
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 Session Beanclassloader - The ClassLoader associated with the Container's Bean Class
for which this ProxyFactory is to generate Proxiesadvisor - The Advisor for proxies created by this factoryoverrideInterceptorStackName - The name of the client-side interceptor stack to use.
If null the default will apply.| Method Detail |
|---|
public java.lang.Object createProxyHome()
createProxyHome in interface SessionSpecProxyFactorypublic java.lang.Object createProxyDefault(java.io.Serializable sessionId)
public java.lang.Object createProxyBusiness(java.io.Serializable sessionId,
java.lang.String businessInterfaceName)
businessInterfaceName -
public java.lang.Object createProxyEjb2x(java.io.Serializable sessionId)
public void start()
throws java.lang.Exception
start in interface ProxyFactorystart in class ProxyFactoryBasejava.lang.Exception
public void stop()
throws java.lang.Exception
stop in interface ProxyFactorystop in class ProxyFactoryBasejava.lang.Exception
@Deprecated
protected java.util.Set<java.lang.Class<?>> getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface,
boolean isStateless)
homeInterface - isStateless - Flag to indicate whether this is for a Stateful or Stateless container
protected abstract java.util.Set<java.lang.String> getBusinessInterfaceTypes()
protected abstract java.lang.String getHomeType()
protected abstract java.lang.String getEjb2xInterfaceType()
protected abstract java.util.Set<java.lang.Class<?>> getReturnTypesFromCreateMethods(java.lang.Class<?> homeInterface)
homeInterface -
protected abstract SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(java.io.Serializable target,
java.lang.String businessInterfaceName)
protected abstract SessionProxyInvocationHandler createBusinessDefaultInvocationHandler(java.io.Serializable target)
protected abstract SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler(java.io.Serializable target)
protected abstract SessionProxyInvocationHandler createHomeInvocationHandler()
public org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData getMetadata()
protected void setMetadata(org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata)
protected java.lang.reflect.Constructor<?> getConstructorProxyDefault()
protected void setConstructorProxyDefault(java.lang.reflect.Constructor<?> constructorProxyDefault)
protected java.util.Map<java.lang.String,java.lang.reflect.Constructor<?>> getConstructorsProxySpecificBusinessInterface()
protected void setConstructorsProxySpecificBusinessInterface(java.util.Map<java.lang.String,java.lang.reflect.Constructor<?>> constructorsProxySpecificBusinessInterface)
protected java.lang.reflect.Constructor<?> getConstructorProxyHome()
protected void setConstructorProxyHome(java.lang.reflect.Constructor<?> constructorProxyHome)
protected java.lang.reflect.Constructor<?> getConstructorProxyEjb2x()
protected void setConstructorProxyEjb2x(java.lang.reflect.Constructor<?> constructorProxyEjb2x)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||