org.jboss.aop.microcontainer.beans
Class GenericBeanAspectFactory
java.lang.Object
org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport
org.jboss.aop.advice.GenericAspectFactory
org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory
- All Implemented Interfaces:
- org.jboss.aop.advice.AspectFactory, org.jboss.aop.advice.AspectFactoryWithClassLoader, BeanFactoryAwareAspectFactory, KernelControllerContextAware
public class GenericBeanAspectFactory
- extends org.jboss.aop.advice.GenericAspectFactory
- implements KernelControllerContextAware, BeanFactoryAwareAspectFactory
A GenericBeanAspectFactory.
- Version:
- $Revision: 87586 $
- Author:
- Adrian Brock
| Methods inherited from class org.jboss.aop.advice.GenericAspectFactory |
configureInstance, getClazz, getElement, getInjectorName, injectAdvisor, injectInstanceAdvisor, injectJoinpoint, setAttribute, setClassname, setElement |
| Methods inherited from class org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport |
getLoader, loadClass, peekScopedClassLoader, popScopedClassLoader, pushScopedClassLoader, setClassLoader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected BeanFactory factory
name
protected String name
classname
protected String classname
element
protected Element element
context
protected KernelControllerContext context
GenericBeanAspectFactory
public GenericBeanAspectFactory(String name,
BeanFactory factory,
Element element)
setBeanFactory
public void setBeanFactory(BeanFactory factory)
- Specified by:
setBeanFactory in interface BeanFactoryAwareAspectFactory
getAspectName
public String getAspectName()
getName
public String getName()
- Specified by:
getName in interface org.jboss.aop.advice.AspectFactory- Overrides:
getName in class org.jboss.aop.advice.GenericAspectFactory
getClassname
public String getClassname()
- Overrides:
getClassname in class org.jboss.aop.advice.GenericAspectFactory
createPerVM
public Object createPerVM()
- Specified by:
createPerVM in interface org.jboss.aop.advice.AspectFactory- Overrides:
createPerVM in class org.jboss.aop.advice.GenericAspectFactory
createPerClass
public Object createPerClass(org.jboss.aop.Advisor advisor)
- Specified by:
createPerClass in interface org.jboss.aop.advice.AspectFactory- Overrides:
createPerClass in class org.jboss.aop.advice.GenericAspectFactory
createPerInstance
public Object createPerInstance(org.jboss.aop.Advisor advisor,
org.jboss.aop.InstanceAdvisor instanceAdvisor)
- Specified by:
createPerInstance in interface org.jboss.aop.advice.AspectFactory- Overrides:
createPerInstance in class org.jboss.aop.advice.GenericAspectFactory
createPerJoinpoint
public Object createPerJoinpoint(org.jboss.aop.Advisor advisor,
org.jboss.aop.joinpoint.Joinpoint jp)
- Specified by:
createPerJoinpoint in interface org.jboss.aop.advice.AspectFactory- Overrides:
createPerJoinpoint in class org.jboss.aop.advice.GenericAspectFactory
createPerJoinpoint
public Object createPerJoinpoint(org.jboss.aop.Advisor advisor,
org.jboss.aop.InstanceAdvisor instanceAdvisor,
org.jboss.aop.joinpoint.Joinpoint jp)
- Specified by:
createPerJoinpoint in interface org.jboss.aop.advice.AspectFactory- Overrides:
createPerJoinpoint in class org.jboss.aop.advice.GenericAspectFactory
setKernelControllerContext
public void setKernelControllerContext(KernelControllerContext context)
- Description copied from interface:
KernelControllerContextAware
- Set the controller context.
This is invoked after construction with the controller context.
WARNING: This protocol is subject to change with the classadapter implementation.
- Specified by:
setKernelControllerContext in interface KernelControllerContextAware
- Parameters:
context - the context
unsetKernelControllerContext
public void unsetKernelControllerContext(KernelControllerContext context)
throws Exception
- Description copied from interface:
KernelControllerContextAware
- Unset the controller context.
This is before uninstallation with null.
WARNING: This protocol is subject to change with the classadapter implementation.
- Specified by:
unsetKernelControllerContext in interface KernelControllerContextAware
- Parameters:
context - the context
- Throws:
Exception - for any error
doCreate
protected Object doCreate(org.jboss.aop.Advisor advisor,
org.jboss.aop.InstanceAdvisor instanceAdvisor,
org.jboss.aop.joinpoint.Joinpoint jp)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.