01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.test.stateful;
17:
18: import java.rmi.RemoteException;
19:
20: import org.apache.openejb.test.TestFailureException;
21:
22: /**
23: *
24: * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
25: * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
26: */
27: public interface EncStatefulObject extends javax.ejb.EJBObject {
28:
29: public void lookupEntityBean() throws TestFailureException,
30: RemoteException;
31:
32: public void lookupStatefulBean() throws TestFailureException,
33: RemoteException;
34:
35: public void lookupStatelessBean() throws TestFailureException,
36: RemoteException;
37:
38: public void lookupStatelessBusinessLocal()
39: throws TestFailureException, RemoteException;
40:
41: public void lookupStatelessBusinessRemote()
42: throws TestFailureException, RemoteException;
43:
44: public void lookupStatefulBusinessLocal()
45: throws TestFailureException, RemoteException;
46:
47: public void lookupStatefulBusinessRemote()
48: throws TestFailureException, RemoteException;
49:
50: public void lookupResource() throws TestFailureException,
51: RemoteException;
52:
53: public void lookupJMSConnectionFactory()
54: throws TestFailureException, RemoteException;
55:
56: public void lookupPersistenceUnit() throws TestFailureException,
57: RemoteException;
58:
59: public void lookupPersistenceContext() throws TestFailureException,
60: RemoteException;
61:
62: public void lookupSessionContext() throws TestFailureException,
63: RemoteException;
64:
65: public void lookupStringEntry() throws TestFailureException,
66: RemoteException;
67:
68: public void lookupDoubleEntry() throws TestFailureException,
69: RemoteException;
70:
71: public void lookupLongEntry() throws TestFailureException,
72: RemoteException;
73:
74: public void lookupFloatEntry() throws TestFailureException,
75: RemoteException;
76:
77: public void lookupIntegerEntry() throws TestFailureException,
78: RemoteException;
79:
80: public void lookupShortEntry() throws TestFailureException,
81: RemoteException;
82:
83: public void lookupBooleanEntry() throws TestFailureException,
84: RemoteException;
85:
86: public void lookupByteEntry() throws TestFailureException,
87: RemoteException;
88:
89: public void lookupCharacterEntry() throws TestFailureException,
90: RemoteException;
91:
92: }
|