User: chirino
Date: 01/11/11 21:27:35
Modified: src/main/org/jboss/mq/referenceable
SpyConnectionFactoryObjectFactory.java
Log:
More debug statments to help out with clustering work. Changed the IL JNDI bind
code so that it does
a rebind a creates all the required sub contexts
Revision Changes Path
1.3 +4 -2
jbossmq/src/main/org/jboss/mq/referenceable/SpyConnectionFactoryObjectFactory.java
Index: SpyConnectionFactoryObjectFactory.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/referenceable/SpyConnectionFactoryObjectFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SpyConnectionFactoryObjectFactory.java 2001/08/17 03:04:06 1.2
+++ SpyConnectionFactoryObjectFactory.java 2001/11/12 05:27:35 1.3
@@ -17,7 +17,7 @@
*
* @author Hiram Chirino ([EMAIL PROTECTED])
* @created August 16, 2001
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class SpyConnectionFactoryObjectFactory implements
javax.naming.spi.ObjectFactory {
@@ -37,12 +37,14 @@
public java.lang.Object getObjectInstance( java.lang.Object reference,
javax.naming.Name name, javax.naming.Context contex, java.util.Hashtable properties )
throws java.lang.Exception {
- cat.debug( "SpyConnectionFactoryObjectFactory->getObjectInstance()" );
+ cat.debug( "Extracting SpyConnectionFactory from reference" );
try {
javax.naming.Reference ref = ( javax.naming.Reference )reference;
GenericConnectionFactory dcf = ( GenericConnectionFactory )
ObjectRefAddr.extractObjectRefFrom( ref, "DCF" );
+
+ cat.debug("The GenericConnectionFactory is: "+dcf);
if ( ref.getClassName().equals( "org.jboss.mq.SpyConnectionFactory" ) ) {
return new org.jboss.mq.SpyConnectionFactory( dcf );
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development