public class PostCreateGenerator
extends java.lang.Object
Constructor and Description |
---|
PostCreateGenerator(java.lang.Class beanClass,
ClassWriter cw)
Constructor for a PostCreateGenerator.
|
Modifier and Type | Method and Description |
---|---|
void |
createEjbPostCreate(java.lang.String ejbPostCreateName,
java.lang.reflect.Method ejbCreate)
Generate an ejbPostCreatexxxx method corresponding
to an ejbCreatexxxx method definition.
|
void |
generate()
Generate the ejbPostCreatexxxx methods.
|
public PostCreateGenerator(java.lang.Class beanClass, ClassWriter cw)
beanClass
- The source EJB implementation class (the user
provided class).cw
- The ClassWriter instance used for constructing the
instantiation class. This has already gone through
other generation steps, we're implementing additional
stages of the process.public void generate()
public void createEjbPostCreate(java.lang.String ejbPostCreateName, java.lang.reflect.Method ejbCreate)
ejbPostCreateName
- The name we're creating under.ejbCreate
- The matching ejbCreate method. The post create method
will match this one in terms of method signature.