01: // Copyright 2004, 2005 The Apache Software Foundation
02: //
03: // Licensed under the Apache License, Version 2.0 (the "License");
04: // you may not use this file except in compliance with the License.
05: // You may obtain a copy of the License at
06: //
07: // http://www.apache.org/licenses/LICENSE-2.0
08: //
09: // Unless required by applicable law or agreed to in writing, software
10: // distributed under the License is distributed on an "AS IS" BASIS,
11: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: // See the License for the specific language governing permissions and
13: // limitations under the License.
14:
15: package hivemind.test.lib.impl;
16:
17: import hivemind.test.lib.SimpleRemote;
18:
19: import java.rmi.RemoteException;
20:
21: import javax.ejb.EJBHome;
22: import javax.ejb.EJBObject;
23: import javax.ejb.Handle;
24: import javax.ejb.RemoveException;
25:
26: /**
27: * Implementation of fake EJB.
28: *
29: * @author Howard Lewis Ship
30: */
31: public class SimpleEJB extends SimpleServiceImpl implements
32: SimpleRemote {
33:
34: public EJBHome getEJBHome() throws RemoteException {
35: return null;
36: }
37:
38: public Handle getHandle() throws RemoteException {
39: return null;
40: }
41:
42: public Object getPrimaryKey() throws RemoteException {
43: return null;
44: }
45:
46: public boolean isIdentical(EJBObject arg0) throws RemoteException {
47: return false;
48: }
49:
50: public void remove() throws RemoteException, RemoveException {
51:
52: }
53:
54: }
|