StudentBmp_gv07c4_Impl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:6k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 16:20:06 on 2003-8-29
- * by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
- *
- * @version WebLogic Server 8.1 Fri Jun 20 23:06:40 PDT 2003 271009
- * @author Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
- */
- package bmpsample;
- public final class StudentBmp_gv07c4_Impl
- extends StudentBmpBean
- implements weblogic.ejb20.interfaces.WLEnterpriseBean,
- StudentBmp_gv07c4_Intf
- {
- private int __WL_method_state;
- private boolean __WL_busy = false;
- private boolean __WL_isLocal = false;
- private boolean __WL_needsRemove;
- private boolean __WL_creatorOfTx;
- private javax.ejb.EJBContext __WL_EJBContext;
- private javax.transaction.Transaction __WL_bmtx;
- private Object __WL_loadUser;
- public StudentBmp_gv07c4_Impl() {}
- public boolean __WL_isBusy() { return __WL_busy; }
- public void __WL_setBusy(boolean b) { __WL_busy = b; }
- public boolean __WL_getIsLocal() { return __WL_isLocal; }
- public void __WL_setIsLocal(boolean b) { __WL_isLocal = b; }
- public javax.transaction.Transaction __WL_getBeanManagedTransaction() {
- return __WL_bmtx;
- }
- public void __WL_setBeanManagedTransaction(javax.transaction.Transaction tx) {
- __WL_bmtx = tx;
- }
- public javax.ejb.EJBContext __WL_getEJBContext() { return __WL_EJBContext; }
- public void __WL_setEJBContext(javax.ejb.EJBContext ctx) {
- __WL_EJBContext = ctx;
- }
- public int __WL_getMethodState() { return __WL_method_state; }
- public void __WL_setMethodState(int state) { __WL_method_state = state; }
- public boolean __WL_needsRemove() { return __WL_needsRemove; }
- public void __WL_setNeedsRemove(boolean b) { __WL_needsRemove = b; }
- public void __WL_setLoadUser(Object o) { __WL_loadUser = o;}
- public Object __WL_getLoadUser() { return __WL_loadUser; }
- public void __WL_setCreatorOfTx (boolean b) { __WL_creatorOfTx = b; }
- public boolean __WL_isCreatorOfTx() { return __WL_creatorOfTx; }
- public void ejbActivate()
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJB_ACTIVATE;
- super.ejbActivate();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void ejbPassivate()
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJB_PASSIVATE;
- super.ejbPassivate();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void ejbRemove()
- throws javax.ejb.RemoveException
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJB_REMOVE;
- super.ejbRemove();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void setEntityContext(javax.ejb.EntityContext ctx)
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_SET_CONTEXT;
- super.setEntityContext(ctx);
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void unsetEntityContext()
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_UNSET_CONTEXT;
- super.unsetEntityContext();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void ejbLoad()
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJBLOAD;
- super.ejbLoad();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void ejbStore()
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJBSTORE;
- super.ejbStore();
- } finally {
- __WL_method_state = oldState;
- }
- }
- public void ejbPostCreate(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6)
- throws javax.ejb.CreateException
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJB_POSTCREATE;
- // No return value
- super.ejbPostCreate( arg0, arg1, arg2, arg3, arg4, arg5, arg6);
- // No return result
- } finally {
- __WL_method_state = oldState;
- }
- }
- // create, find, remove, EJB 2.0 home methods
- public java.lang.String ejbCreate(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6)
- throws javax.ejb.CreateException
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJB_CREATE;
- java.lang.String result = null;
- result = super.ejbCreate( arg0, arg1, arg2, arg3, arg4, arg5, arg6);
- return result;
- } finally {
- __WL_method_state = oldState;
- }
- }
- public java.lang.String ejbFindByPrimaryKey(java.lang.String arg0)
- throws javax.ejb.FinderException
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJBFIND;
- java.lang.String result = null;
- result = super.ejbFindByPrimaryKey( arg0);
- return result;
- } finally {
- __WL_method_state = oldState;
- }
- }
- public java.util.Collection ejbFindByCompanyName(java.lang.String arg0)
- throws javax.ejb.FinderException
- {
- int oldState = __WL_method_state;
- try {
- __WL_method_state = STATE_EJBFIND;
- java.util.Collection result = null;
- result = super.ejbFindByCompanyName( arg0);
- return result;
- } finally {
- __WL_method_state = oldState;
- }
- }
- }