KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > JMSServiceConfig


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23  
24 /*
25  * $Header: /cvs/glassfish/admin-core/mbeanapi/src/java/com/sun/appserv/management/config/JMSServiceConfig.java,v 1.6 2006/03/09 20:30:23 llc Exp $
26  * $Revision: 1.6 $
27  * $Date: 2006/03/09 20:30:23 $
28  */

29
30 package com.sun.appserv.management.config;
31
32 import java.util.Map JavaDoc;
33
34 import com.sun.appserv.management.base.XTypes;
35 import com.sun.appserv.management.base.Container;
36
37
38 /**
39      Configuration for the <jms-service> element.
40 */

41
42 public interface JMSServiceConfig
43     extends ConfigElement, Container, PropertiesAccess
44 {
45 /** The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}. */
46     public static final String JavaDoc J2EE_TYPE = XTypes.JMS_SERVICE_CONFIG;
47
48     public String JavaDoc getAddressListBehavior();
49     public void setAddressListBehavior( final String JavaDoc value );
50
51     public String JavaDoc getAddressListIterations();
52     public void setAddressListIterations( final String JavaDoc value );
53
54     public String JavaDoc getDefaultJMSHost();
55     public void setDefaultJMSHost( final String JavaDoc value );
56
57     public String JavaDoc getInitTimeoutInSeconds();
58     public void setInitTimeoutInSeconds( final String JavaDoc value );
59
60     public String JavaDoc getMQScheme();
61     public void setMQScheme( final String JavaDoc value );
62
63     public String JavaDoc getMQService();
64     public void setMQService( final String JavaDoc value );
65
66     public String JavaDoc getReconnectAttempts();
67     public void setReconnectAttempts( final String JavaDoc value );
68
69     public boolean getReconnectEnabled();
70     public void setReconnectEnabled( final boolean value );
71
72     public String JavaDoc getReconnectIntervalInSeconds();
73     public void setReconnectIntervalInSeconds( final String JavaDoc value );
74
75     public String JavaDoc getStartArgs();
76     public void setStartArgs( final String JavaDoc value );
77
78     public String JavaDoc getType();
79     public void setType( final String JavaDoc value );
80     
81     /**
82         Calls Container.getContaineeMap( XTypes.JMS_HOST_CONFIG ).
83         @return Map of JMSHostConfig MBean proxies, keyed by name.
84         @see com.sun.appserv.management.base.Container#getContaineeMap
85      */

86     public Map JavaDoc<String JavaDoc,JMSHostConfig> getJMSHostConfigMap();
87     /**
88         Creates a new jms-host element.
89
90         @param name The name (id) of the jms-host.
91         @param optional A map of optional params keyed on the attribute keys
92         defined here. (eg:- HOST_KEY).
93         @return A proxy to the JMSHostConfig MBean.
94         @see JMSHostConfigKeys
95      */

96     public JMSHostConfig createJMSHostConfig( String JavaDoc name, Map JavaDoc<String JavaDoc,String JavaDoc> optional );
97
98     /**
99         Removes a jms-host element.
100
101         @param name The name (id) of the jms-host.
102      */

103     public void removeJMSHostConfig( String JavaDoc name );
104 }
105
106
107
108
109
110
111
Popular Tags