KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > jndi > JMSProviderLoaderMBean


1 /*
2  * JBoss, Home of Professional Open Source
3  * Copyright 2005, JBoss Inc., and individual contributors as indicated
4  * by the @authors tag. See the copyright.txt in the distribution for a
5  * full listing of individual contributors.
6  *
7  * This is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as
9  * published by the Free Software Foundation; either version 2.1 of
10  * the License, or (at your option) any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this software; if not, write to the Free
19  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21  */

22 package org.jboss.jms.jndi;
23
24 import java.util.Properties JavaDoc;
25
26 import org.jboss.system.ServiceMBean;
27
28 /**
29  * MBean interface.
30  *
31  * @author <a HREF="mailto:adrian@jboss.com">Adrian Brock</a>
32  * @version $Revision: 38361 $
33  */

34 public interface JMSProviderLoaderMBean extends ServiceMBean
35 {
36    /**
37     * Set the provider name
38     *
39     * @param name the provider name
40     */

41    void setProviderName(String JavaDoc name);
42
43    /**
44     * Get the provider name
45     *
46     * @return the provider name
47     */

48    String JavaDoc getProviderName();
49
50    /**
51     * Set the provider adapter class
52     *
53     * @param clazz the class name
54     */

55    void setProviderAdapterClass(String JavaDoc clazz);
56
57
58    /**
59     * Get the provider adapter class
60     *
61     * @return the class name
62     */

63    String JavaDoc getProviderAdapterClass();
64
65    /**
66     * Set the provider properties
67     *
68     * @param properties the properties
69     */

70    void setProperties(Properties JavaDoc properties);
71
72    /**
73     * Get the provider properties
74     *
75     * @return the properties
76     */

77    Properties JavaDoc getProperties();
78
79    /**
80     * Set where the provider adapter is bound into jndi
81     *
82     * @param name the provider adapter jndi name
83     */

84    void setAdapterJNDIName(String JavaDoc name);
85
86    /**
87     * Get where the provider adapter is bound into jndi
88     *
89     * @return the jndi binding
90     */

91    String JavaDoc getAdapterJNDIName();
92
93    /**
94     * Set the jndi name of the unified connection factory
95     *
96     * @param newFactoryRef the jndi name
97     */

98    void setFactoryRef(String JavaDoc newFactoryRef);
99
100    /**
101     * Set the jndi name of the queue connection factory
102     *
103     * @param newQueueFactoryRef the jndi name
104     */

105    void setQueueFactoryRef(String JavaDoc newQueueFactoryRef);
106
107    /**
108     * Set the jndi name of the topic connection factory
109     *
110     * @param newTopicFactoryRef the jndi name
111     */

112    void setTopicFactoryRef(String JavaDoc newTopicFactoryRef);
113
114    /**
115     * Get the jndi name of the unified connection factory
116     *
117     * @return the jndi name
118     */

119    String JavaDoc getFactoryRef();
120
121    /**
122     * Get the jndi name of the queue connection factory
123     *
124     * @return the jndi name
125     */

126    String JavaDoc getQueueFactoryRef();
127
128    /**
129     * Get the jndi name of the topic connection factory
130     *
131     * @return the jndi name
132     */

133    String JavaDoc getTopicFactoryRef();
134 }
135
Popular Tags