User: d_jencks
Date: 01/11/11 22:52:17
Modified: src/main/org/jboss/jms/jndi JMSProviderLoader.java
Log:
Changes to move toward eliminating init and destroy from Service interface, and make
J2eeDeployer use mbean-refs. (2nd try at committing - is cvs acting weird?
Revision Changes Path
1.7 +3 -6 jboss/src/main/org/jboss/jms/jndi/JMSProviderLoader.java
Index: JMSProviderLoader.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jms/jndi/JMSProviderLoader.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- JMSProviderLoader.java 2001/08/30 03:10:54 1.6
+++ JMSProviderLoader.java 2001/11/12 06:52:17 1.7
@@ -40,7 +40,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Hiram Chirino</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class JMSProviderLoader
extends ServiceMBeanSupport
@@ -108,7 +108,8 @@
return providerName;
}
- public void initService() throws Exception
+
+ public void startService() throws Exception
{
// validate the configuration
if (queueFactoryRef == null)
@@ -125,10 +126,6 @@
providerAdapter.setProviderUrl(url);
providerAdapter.setQueueFactoryRef(queueFactoryRef);
providerAdapter.setTopicFactoryRef(topicFactoryRef);
- }
-
- public void startService() throws Exception
- {
InitialContext context = new InitialContext();
try {
// Bind in JNDI
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development