@Module public class MessageGenerator<X> extends BeanGenerator<X>
Constructor and Description |
---|
MessageGenerator(java.lang.String ejbName,
AnnotatedType<X> ejbClass) |
Modifier and Type | Method and Description |
---|---|
void |
addBusinessMethod(AnnotatedMethod<? super X> method) |
protected void |
addLifecycleMethod(AnnotatedMethod<? super X> method) |
void |
generate(JavaWriter out)
Generates the message session bean
|
protected AspectBeanFactory<X> |
getAspectBeanFactory() |
java.lang.String |
getContextClassName() |
protected AspectBeanFactory<X> |
getLifecycleAspectFactory() |
java.util.ArrayList<AspectGenerator<X>> |
getMethods()
Returns the introspected methods
|
java.lang.String |
getViewClassName() |
void |
introspect()
Introspects the bean.
|
addDependency, addDependency, generateBeanConstructor, generateBeanConstructor, generateBeanPrologue, generateBusinessMethods, generateClassStaticFields, generateContextObjectConstructor, generateDelegate, generateDependency, generateDestroy, generateDestroyImpl, generateDestroyViews, generateEpilogue, generateFreeInstance, generateInject, generateInjectContent, generateLifecycleMethod, generateLifecycleMethodReflection, generateLifecycleMethods, generatePostConstruct, generatePostConstructImpl, generateProxyConstructor, generateProxyConstructor, generateTimer, getBeanClassName, getBeanType, getLifecycleAspects, getLifecycleInstance, getLifecycleMethods, isProxy, isRemote, toString
addImport, generateTopComment, getFullClassName, getPackageName
addComponent, addDependencyComponent, addInterfaceName, addMethod, createMethod, findMethod, generateClassContent, generateComponents, getClassName, setClassName, setStatic, setSuperClassName, setVisibility
public MessageGenerator(java.lang.String ejbName, AnnotatedType<X> ejbClass)
protected AspectBeanFactory<X> getLifecycleAspectFactory()
getLifecycleAspectFactory
in class BeanGenerator<X>
public java.lang.String getContextClassName()
public java.lang.String getViewClassName()
getViewClassName
in class BeanGenerator<X>
protected AspectBeanFactory<X> getAspectBeanFactory()
getAspectBeanFactory
in class BeanGenerator<X>
public java.util.ArrayList<AspectGenerator<X>> getMethods()
getMethods
in class BeanGenerator<X>
public void introspect()
introspect
in class BeanGenerator<X>
public void addBusinessMethod(AnnotatedMethod<? super X> method)
protected void addLifecycleMethod(AnnotatedMethod<? super X> method)
public void generate(JavaWriter out) throws java.io.IOException