⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accountmanagerpoatie.java

📁 distrubit account system for bank,
💻 JAVA
字号:

package Bank;

/**
 * <ul>
 * <li> <b>IDL Source</b>    "Bank.idl"
 * <li> <b>IDL Name</b>      ::Bank::AccountManager
 * <li> <b>Repository Id</b> IDL:Bank/AccountManager:1.0
 * </ul>
 * <b>IDL definition:</b>
 * <pre>
 * interface AccountManager {
  ...
};
 * </pre>
 */
public class AccountManagerPOATie extends AccountManagerPOA {
  private Bank.AccountManagerOperations _delegate;
  private org.omg.PortableServer.POA _poa;

  public AccountManagerPOATie (final Bank.AccountManagerOperations _delegate) {
    this._delegate = _delegate;
  }

  public AccountManagerPOATie (final Bank.AccountManagerOperations _delegate, 
                              final org.omg.PortableServer.POA _poa) {
    this._delegate = _delegate;
    this._poa = _poa;
  }

  public Bank.AccountManagerOperations _delegate () {
    return this._delegate;
  }

  public void _delegate (final Bank.AccountManagerOperations delegate) {
    this._delegate = delegate;
  }

  public org.omg.PortableServer.POA _default_POA () {
    if (_poa != null) {
      return _poa;
    } 
    else {
      return super._default_POA();
    }
  }

  /**
   * <pre>
   *   Bank.Account open (in string name);
   * </pre>
   */
  public Bank.Account open (java.lang.String name) {
    return this._delegate.open(name);
  }

  /**
   * <pre>
   *   Bank.Account getAccountById (in string id)
    raises (Bank.RecordIsNullException);
   * </pre>
   */
  public Bank.Account getAccountById (java.lang.String id) throws  Bank.RecordIsNullException {
    return this._delegate.getAccountById(id);
  }

  /**
   * <pre>
   *   Bank.Account getAccountByIdNotpooling (in string id)
    raises (Bank.RecordIsNullException);
   * </pre>
   */
  public Bank.Account getAccountByIdNotpooling (java.lang.String id) throws  Bank.RecordIsNullException {
    return this._delegate.getAccountByIdNotpooling(id);
  }

  /**
   * <pre>
   *   void close (in string id);
   * </pre>
   */
  public void close (java.lang.String id) {
    this._delegate.close(id);
  }

  /**
   * <pre>
   *   void update (in string id, in string name, in float balance);
   * </pre>
   */
  public void update (java.lang.String id, 
                      java.lang.String name, 
                      float balance) {
    this._delegate.update(id, name, balance);
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -