org.jboss.aop.microcontainer.beans
Class DelegatingBeanAspectFactory
java.lang.Object
org.jboss.aop.microcontainer.beans.DelegatingBeanAspectFactory
- All Implemented Interfaces:
- org.jboss.aop.advice.AspectFactory, BeanFactoryAwareAspectFactory, KernelControllerContextAware
public class DelegatingBeanAspectFactory
- extends Object
- implements org.jboss.aop.advice.AspectFactory, KernelControllerContextAware, BeanFactoryAwareAspectFactory
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
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
element
protected Element element
context
protected KernelControllerContext context
aspectFactory
protected org.jboss.aop.advice.AspectFactory aspectFactory
DelegatingBeanAspectFactory
public DelegatingBeanAspectFactory(String name,
BeanFactory factory,
Element element)
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
setBeanFactory
public void setBeanFactory(BeanFactory factory)
- Specified by:
setBeanFactory
in interface BeanFactoryAwareAspectFactory
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.AspectFactory
createPerVM
public Object createPerVM()
- Specified by:
createPerVM
in interface org.jboss.aop.advice.AspectFactory
createPerClass
public Object createPerClass(org.jboss.aop.Advisor advisor)
- Specified by:
createPerClass
in interface org.jboss.aop.advice.AspectFactory
createPerInstance
public Object createPerInstance(org.jboss.aop.Advisor advisor,
org.jboss.aop.InstanceAdvisor instanceAdvisor)
- Specified by:
createPerInstance
in interface org.jboss.aop.advice.AspectFactory
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
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
doCreate
protected org.jboss.aop.advice.AspectFactory doCreate()
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.