KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > joram > client > connector > JoramAdapterMBean


1 /*
2  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
3  * Copyright (C) 2005 - 2006 ScalAgent Distributed Technologies
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18  * USA.
19  *
20  * Initial developer(s): ScalAgent Distributed Technologies
21  * Contributor(s):
22  */

23 package org.objectweb.joram.client.connector;
24
25 import org.objectweb.joram.client.jms.admin.AdminException;
26 import org.objectweb.joram.client.jms.admin.JoramAdminMBean;
27
28 import java.util.List JavaDoc;
29
30 public interface JoramAdapterMBean
31   extends JoramAdminMBean {
32
33   /** Platform servers identifiers. */
34   public List JavaDoc getPlatformServersIds();
35
36   public List JavaDoc getLocalUsers();
37
38   /**
39    * Path to the directory containing JORAM's configuration files
40    * (<code>a3servers.xml</code>, <code>a3debug.cfg</code>
41    * and admin file), needed when starting the collocated JORAM server.
42    */

43   public java.lang.String JavaDoc getPlatformConfigDir();
44
45   /** <code>true</code> if the JORAM server to start is persistent. */
46   public java.lang.Boolean JavaDoc getPersistentPlatform();
47
48   /** Identifier of the JORAM server to start. */
49   public Short JavaDoc getServerId();
50
51   /** Name of the JORAM server to start. */
52   public java.lang.String JavaDoc getServerName();
53
54   /**
55    * Path to the file containing a description of the administered objects to
56    * create and bind.
57    */

58   public java.lang.String JavaDoc getAdminFile();
59
60   public java.lang.String JavaDoc getAdminFileXML();
61
62   public java.lang.String JavaDoc getAdminFileExportXML();
63
64   public java.lang.Boolean JavaDoc getCollocatedServer();
65
66   public java.lang.String JavaDoc getHostName();
67
68   public java.lang.Integer JavaDoc getServerPort();
69
70   /**
71    * Duration in seconds during which connecting is attempted (connecting
72    * might take time if the server is temporarily not reachable); the 0 value
73    * is set for connecting only once and aborting if connecting failed.
74    */

75   public java.lang.Integer JavaDoc getConnectingTimer();
76
77   /**
78    * Duration in seconds during which a JMS transacted (non XA) session might
79    * be pending; above that duration the session is rolled back and closed;
80    * the 0 value means "no timer".
81    */

82   public java.lang.Integer JavaDoc getTxPendingTimer();
83
84   /**
85    * Period in milliseconds between two ping requests sent by the client
86    * connection to the server; if the server does not receive any ping
87    * request during more than 2 * cnxPendingTimer, the connection is
88    * considered as dead and processed as required.
89    */

90   public java.lang.Integer JavaDoc getCnxPendingTimer();
91
92   /**
93   * @return the DeleteDurableSubscription that indicates whether the durablesubscription
94   * must be deleted at InboundConsumer close time.
95   */

96   public java.lang.Boolean JavaDoc getDeleteDurableSubscription();
97
98   public void removeDestination(String JavaDoc name) throws AdminException;
99
100 }
101
Popular Tags