KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > test > cache > 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.cache.nested;
9
10 import java.rmi.dgc.VMID JavaDoc;
11
12 /**
13  * Comment
14  *
15  * @author Ben Wang
16  * @version $Revision: 46483 $
17  */

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