📄 frontend_impl.java
字号:
/*
* JBoss, Home of Professional Open Source
* Copyright 2005, JBoss Inc., and individual contributors as indicated
* by the @authors tag.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the JBPM BPEL PUBLIC LICENSE AGREEMENT as
* published by JBoss Inc.; either version 1.0 of the License, or
* (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
package org.jbpm.bpel.tutorial.atm;
import java.rmi.RemoteException;
/**
* FrontEnd endpoint implementation bean.
* @author Alejandro Guizar
* @version $Revision: 1.2 $ $Date: 2006/10/18 02:32:12 $
*/
public class FrontEnd_Impl implements FrontEnd {
/*
* Method bodies in this class were intentionally left empty. The BPEL process
* {urn:samples:atm}AtmFrontEnd specifies the behavior instead.
*/
public int connect() throws RemoteException {
return 0;
}
public double deposit(String customerName, double amount)
throws RemoteException {
return 0;
}
public void disconnect(int ticketNo) throws RemoteException {
}
public double getBalance(String customerName) throws RemoteException {
return 0;
}
public void logOff(String customerName) throws RemoteException {
}
public void logOn(int ticketNo, String customerName)
throws UnauthorizedAccess, RemoteException {
}
public String status(int ticketNo) throws RemoteException {
return null;
}
public double withdraw(String customerName, double amount)
throws InsufficientFunds, RemoteException {
return 0;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -