KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > test > clusteredsession > nested > ParentStatefulRemote


1 /*
2  * JBoss, Home of Professional Open Source
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package org.jboss.ejb3.test.clusteredsession.nested;
9
10 import org.jboss.ejb3.test.clusteredsession.NodeAnswer;
11
12 import java.rmi.dgc.VMID JavaDoc;
13
14 /**
15  * Comment
16  *
17  * @author Ben Wang
18  * @version $Revision: 46483 $
19  */

20 public interface ParentStatefulRemote
21 {
22    int increment();
23    String JavaDoc getHostAddress();
24
25    int getPostActivate();
26
27    int getPrePassivate();
28
29    int getNestedPostActivate();
30
31    int getNestedPrePassivate();
32
33    void setState(String JavaDoc state);
34
35    String JavaDoc getState();
36
37    NodeAnswer getStatelessState();
38
39    void reset();
40
41    void resetActivationCounter();
42
43    void longRunning() throws Exception JavaDoc;
44
45    void remove();
46
47    public NodeAnswer getNodeState();
48
49    public void setName(String JavaDoc name);
50
51    public void setNameOnlyOnNode(String JavaDoc name, VMID JavaDoc node);
52
53    public void setUpFailover(String JavaDoc failover);
54 }
55
Popular Tags