View Javadoc

1   /*
2    * Copyright (c) 1998-2002 The Jgroup Team.
3    *
4    * This program is free software; you can redistribute it and/or modify
5    * it under the terms of the GNU Lesser General Public License version 2 as
6    * published by the Free Software Foundation.
7    *
8    * This program is distributed in the hope that it will be useful,
9    * but WITHOUT ANY WARRANTY; without even the implied warranty of
10   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   * GNU Lesser General Public License for more details.
12   *
13   * You should have received a copy of the GNU Lesser General Public License
14   * along with this program; if not, write to the Free Software
15   * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16   *
17   */
18  
19  package jgroup.core;
20  
21  /**
22   *  In Jgroup, an <i>internal remote interface</i> is an interface that
23   *  declare a set of methods implemented by an object group that may be
24   *  invoked from a member of the group itself.  An internal remote
25   *  interface must satisfy the following conditions:
26   *
27   *  <UL>
28   *  <LI>It must at least extend, either directly or indirectly, the
29   *  interface <code>InternalGMIListener</code>.  </LI>
30   *  <LI>Each remote method declaration in the internal remote interface
31   *  must (i) include the exception <code>java.rmi.RemoteException</code>
32   *  in its <i>throws</i> clause, in addition to any application-specific
33   *  exceptions (note that application-specific exceptions do not have to
34   *  extend <code>java.rmi.RemoteException</code>), and (ii) return
35   *  <code>java.lang.Object</code>.  </LI>
36   *  </UL>
37   *
38   *  The <code>InternalGMIListener</code> is a marker interface that
39   *  declares no methods.
40   */
41  public interface  InternalGMIListener
42  {
43  }