|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.core.cmp.cmp2.PostCreateGenerator
public class PostCreateGenerator
Generate concrete implementations of EjbPostCreatexxx methods for a bean class. This is implemented in a separate class because it is used by both the CMP1 and CMP2 generators.
| Constructor Summary | |
|---|---|
PostCreateGenerator(Class beanClass,
org.apache.xbean.asm5.ClassWriter cw)
Constructor for a PostCreateGenerator. |
|
| Method Summary | |
|---|---|
void |
createEjbPostCreate(String ejbPostCreateName,
Method ejbCreate)
Generate an ejbPostCreatexxxx method corresponding to an ejbCreatexxxx method definition. |
void |
generate()
Generate the ejbPostCreatexxxx methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostCreateGenerator(Class beanClass,
org.apache.xbean.asm5.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.| Method Detail |
|---|
public void generate()
public void createEjbPostCreate(String ejbPostCreateName,
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||