コード例 #1
0
  /** _copyToEJB */
  public void _copyToEJB(java.util.Hashtable arg0) throws java.rmi.RemoteException {
    EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
    Object[] _jacc_parms = null;

    try {
      if (container.doesJaccNeedsEJBArguments(this)) {
        _jacc_parms = new Object[1];
        _jacc_parms[0] = arg0;
      }
      com.ardais.bigr.iltds.beans.WorkorderBean beanRef =
          (com.ardais.bigr.iltds.beans.WorkorderBean)
              container.preInvoke(this, 24, _EJS_s, _jacc_parms);
      beanRef._copyToEJB(arg0);
    } catch (java.rmi.RemoteException ex) {
      _EJS_s.setUncheckedException(ex);
    } catch (Throwable ex) {
      _EJS_s.setUncheckedException(ex);
      throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
    } finally {
      try {
        container.postInvoke(this, 24, _EJS_s);
      } finally {
        container.putEJSDeployedSupport(_EJS_s);
      }
    }
    return;
  }
コード例 #2
0
 /** getStatus */
 public java.lang.String getStatus() throws java.rmi.RemoteException {
   EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
   Object[] _jacc_parms = null;
   java.lang.String _EJS_result = null;
   try {
     if (container.doesJaccNeedsEJBArguments(this)) {
       _jacc_parms = new Object[0];
     }
     com.ardais.bigr.iltds.beans.WorkorderBean beanRef =
         (com.ardais.bigr.iltds.beans.WorkorderBean)
             container.preInvoke(this, 3, _EJS_s, _jacc_parms);
     _EJS_result = beanRef.getStatus();
   } catch (java.rmi.RemoteException ex) {
     _EJS_s.setUncheckedException(ex);
   } catch (Throwable ex) {
     _EJS_s.setUncheckedException(ex);
     throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
   } finally {
     try {
       container.postInvoke(this, 3, _EJS_s);
     } finally {
       container.putEJSDeployedSupport(_EJS_s);
     }
   }
   return _EJS_result;
 }
コード例 #3
0
  /** setStartdate */
  public void setStartdate(java.sql.Timestamp newValue) throws java.rmi.RemoteException {
    EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
    Object[] _jacc_parms = null;

    try {
      if (container.doesJaccNeedsEJBArguments(this)) {
        _jacc_parms = new Object[1];
        _jacc_parms[0] = newValue;
      }
      com.ardais.bigr.iltds.beans.WorkorderBean beanRef =
          (com.ardais.bigr.iltds.beans.WorkorderBean)
              container.preInvoke(this, 20, _EJS_s, _jacc_parms);
      beanRef.setStartdate(newValue);
    } catch (java.rmi.RemoteException ex) {
      _EJS_s.setUncheckedException(ex);
    } catch (Throwable ex) {
      _EJS_s.setUncheckedException(ex);
      throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
    } finally {
      try {
        container.postInvoke(this, 20, _EJS_s);
      } finally {
        container.putEJSDeployedSupport(_EJS_s);
      }
    }
    return;
  }