|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.aspectj.annotation.BeanFactoryAspectInstanceFactory org.springframework.aop.aspectj.annotation.PrototypeAspectInstanceFactory
public class PrototypeAspectInstanceFactory
AspectInstanceFactory backed by a BeanFactory-provided prototype, enforcing prototype semantics.
Note that this may instantiate multiple times, which probably won't give the
semantics you expect. Use a LazySingletonAspectInstanceFactoryDecorator
to wrap this to ensure only one new aspect comes back.
BeanFactory
,
LazySingletonAspectInstanceFactoryDecorator
Field Summary |
---|
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
PrototypeAspectInstanceFactory(BeanFactory beanFactory,
java.lang.String name)
Create a PrototypeAspectInstanceFactory. |
Method Summary |
---|
Methods inherited from class org.springframework.aop.aspectj.annotation.BeanFactoryAspectInstanceFactory |
---|
getAspectClassLoader, getAspectInstance, getAspectMetadata, getOrder, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrototypeAspectInstanceFactory(BeanFactory beanFactory, java.lang.String name)
beanFactory
- the BeanFactory to obtain instance(s) fromname
- the name of the bean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |