djencks     2004/04/12 14:54:19

  Modified:    
modules/connector/src/java/org/apache/geronimo/connector/deployment
                        RAR_1_5ConfigBuilder.java
  Log:
  reduce stupidity
  
  Revision  Changes    Path
  1.10      +2 -2      
incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/deployment/RAR_1_5ConfigBuilder.java
  
  Index: RAR_1_5ConfigBuilder.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/deployment/RAR_1_5ConfigBuilder.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RAR_1_5ConfigBuilder.java 12 Apr 2004 06:29:13 -0000      1.9
  +++ RAR_1_5ConfigBuilder.java 12 Apr 2004 21:54:19 -0000      1.10
  @@ -211,7 +211,7 @@
                       }
                       
managedConnectionFactoryGBean.setReferencePatterns("ConnectionManagerFactory", 
Collections.singleton(connectionManagerFactoryObjectName));
                       if (connectionfactoryInstance.getCredentialInterface() 
!= null && 
PasswordCredential.class.getName().equals(connectionfactoryInstance.getCredentialInterface().getStringValue()))
 {
  -                        GBeanMBean realmGBean = new 
GBeanMBean(PasswordCredentialRealm.class.getName(), 
PasswordCredentialRealm.class.getClassLoader());
  +                        GBeanMBean realmGBean = new 
GBeanMBean(PasswordCredentialRealm.getGBeanInfo());
                           realmGBean.setAttribute("RealmName", 
BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME + 
connectionfactoryInstance.getName());
                           
context.addGBean(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME
 + connectionfactoryInstance.getName()), realmGBean);
                           
managedConnectionFactoryGBean.setReferencePatterns("ManagedConnectionFactoryListener",
 
Collections.singleton(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME
 + connectionfactoryInstance.getName())));
  
  
  

Reply via email to