|
||||||||||
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
public abstract class ProxyFactoryBase
ProxyFactoryBase A Base upon which Proxy Factory Implementations may build
Constructor Summary | |
---|---|
ProxyFactoryBase(String name,
String containerName,
String containerGuid,
ClassLoader classloader,
org.jboss.aop.Advisor advisor)
Constructor |
Method Summary | |
---|---|
protected Constructor<?> |
createProxyConstructor(Set<Class<?>> interfaces,
ClassLoader cl)
Create a Proxy Constructor for the specified interfaces, using the specified CL |
protected org.jboss.aop.Advisor |
getAdvisor()
|
ClassLoader |
getClassLoader()
|
protected Set<Class<?>> |
getCommonProxyInterfaces()
Returns Proxy interfaces common to all Proxies generated by this ProxyFactory |
protected String |
getContainerGuid()
|
protected String |
getContainerName()
|
protected org.jboss.aop.advice.Interceptor[] |
getInterceptors()
Obtains all interceptors in this Proxy Factory's stack |
protected String |
getInterceptorStackName()
Return the name of the interceptor stack to apply to proxies created by this proxy factory, or null if no interceptors should be applied |
String |
getName()
Returns the unique name of this ProxyFactory |
protected void |
setClassLoader(ClassLoader classloader)
|
void |
setContainerName(String containerName)
|
protected void |
setName(String name)
|
void |
start()
Lifecycle callback to be invoked by 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyFactoryBase(String name, String containerName, String containerGuid, 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 containerclassloader
- The ClassLoader associated with the EJBContainer
for which this ProxyFactory is to generate Proxiesadvisor
- The Advisor for proxies created by this factoryMethod Detail |
---|
protected Constructor<?> createProxyConstructor(Set<Class<?>> interfaces, ClassLoader cl)
interfaces
- cl
-
Exception
protected Set<Class<?>> getCommonProxyInterfaces()
protected String getInterceptorStackName()
protected org.jboss.aop.advice.Interceptor[] getInterceptors()
public void start() throws Exception
start
in interface ProxyFactory
Exception
public void stop() throws Exception
stop
in interface ProxyFactory
Exception
public ClassLoader getClassLoader()
protected void setClassLoader(ClassLoader classloader)
public String getName()
ProxyFactory
getName
in interface ProxyFactory
protected void setName(String name)
protected String getContainerName()
public void setContainerName(String containerName)
protected org.jboss.aop.Advisor getAdvisor()
protected String getContainerGuid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |