|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.gen.CandiAspectBeanFactory<X>
@Module public class CandiAspectBeanFactory<X>
Manages aspect factories for a bean.
| Constructor Summary | |
|---|---|
CandiAspectBeanFactory(InjectManager manager,
AnnotatedType<X> beanType)
|
|
| Method Summary | |
|---|---|
AspectGenerator<X> |
create(AnnotatedMethod<? super X> method)
Creates a new aspect for a method. |
protected AspectFactory<X> |
createAspectFactory()
|
void |
generateEpilogue(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final closing information. |
void |
generateInject(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final closing information. |
void |
generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final initialization information. |
void |
generatePreDestroy(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final closing information. |
java.lang.String |
getBeanInfo()
Returns the beanInfo variable for shared bean instance information |
java.lang.String |
getBeanInstance()
Returns the bean instance Java reference. |
java.lang.String |
getBeanProxy()
Returns the proxy Java reference. |
java.lang.String |
getBeanSuper()
Returns the bean super reference. |
AnnotatedType<X> |
getBeanType()
Returns the bean type. |
java.lang.String |
getGeneratedClassName()
Returns the generated bean name |
AspectFactory<X> |
getHeadAspectFactory()
Returns the head aspect factory |
java.lang.String |
getInstanceClassName()
Returns the instance class name. |
java.lang.String |
getInterceptorInstance()
Returns the interceptor instance Java reference. |
boolean |
isEnhanced()
Returns true if the factory forces enhancement. |
boolean |
isProxy()
Returns true for a proxied instance |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CandiAspectBeanFactory(InjectManager manager,
AnnotatedType<X> beanType)
| Method Detail |
|---|
public AnnotatedType<X> getBeanType()
getBeanType in interface AspectBeanFactory<X>public java.lang.String getGeneratedClassName()
getGeneratedClassName in interface AspectBeanFactory<X>public java.lang.String getInstanceClassName()
AspectBeanFactory
getInstanceClassName in interface AspectBeanFactory<X>public AspectFactory<X> getHeadAspectFactory()
getHeadAspectFactory in interface AspectBeanFactory<X>public boolean isProxy()
isProxy in interface AspectBeanFactory<X>public java.lang.String getBeanInstance()
getBeanInstance in interface AspectBeanFactory<X>public java.lang.String getInterceptorInstance()
getInterceptorInstance in interface AspectBeanFactory<X>public java.lang.String getBeanSuper()
getBeanSuper in interface AspectBeanFactory<X>public java.lang.String getBeanProxy()
getBeanProxy in interface AspectBeanFactory<X>public java.lang.String getBeanInfo()
getBeanInfo in interface AspectBeanFactory<X>public AspectGenerator<X> create(AnnotatedMethod<? super X> method)
create in interface AspectBeanFactory<X>protected AspectFactory<X> createAspectFactory()
public boolean isEnhanced()
AspectBeanFactory
isEnhanced in interface AspectBeanFactory<X>
public void generateInject(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
throws java.io.IOException
AspectBeanFactory
generateInject in interface AspectBeanFactory<X>java.io.IOException
public void generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
throws java.io.IOException
AspectBeanFactory
generatePostConstruct in interface AspectBeanFactory<X>java.io.IOException
public void generatePreDestroy(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
throws java.io.IOException
AspectBeanFactory
generatePreDestroy in interface AspectBeanFactory<X>java.io.IOException
public void generateEpilogue(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
throws java.io.IOException
AspectBeanFactory
generateEpilogue in interface AspectBeanFactory<X>java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||