org.objectweb.jonas.jaxr.scout
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.objectweb.jonas.jaxr.scout.ManagedConnectionFactoryImpl
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ManagedConnectionFactory

public class ManagedConnectionFactoryImpl
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionFactory

Author:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
ManagedConnectionFactoryImpl()
           
 
Method Summary
 java.lang.Object createConnectionFactory()
           
 java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager manager)
           
 javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri)
          Not used.
 java.lang.String getAuthenticationMethod()
           
 java.lang.String getLifeCycleManagerURL()
           
 java.io.PrintWriter getLogWriter()
           
 java.lang.Integer getMaxRows()
           
 java.lang.String getPostalAddressScheme()
           
 java.lang.String getQueryManagerURL()
           
 java.lang.String getSemanticEquivalences()
           
 javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set set, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri)
          Not used.
 void setAuthenticationMethod(java.lang.String authenticationMethod)
           
 void setLifeCycleManagerURL(java.lang.String lifeCycleManagerURL)
           
 void setLogWriter(java.io.PrintWriter pw)
           
 void setMaxRows(java.lang.Integer maxRows)
           
 void setPostalAddressScheme(java.lang.String postalAddressScheme)
           
 void setQueryManagerURL(java.lang.String queryManagerURL)
           
 void setSemanticEquivalences(java.lang.String semanticEquivalences)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory
equals, hashCode
 

Constructor Detail

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl()
Method Detail

createConnectionFactory

public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager manager)
                                         throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.createConnectionFactory(javax.resource.spi.ConnectionManager)

createConnectionFactory

public java.lang.Object createConnectionFactory()
                                         throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.createConnectionFactory()

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo cri)
                                                             throws javax.resource.ResourceException
Not used.

Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)

matchManagedConnections

public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set set,
                                                                    javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo cri)
                                                             throws javax.resource.ResourceException
Not used.

Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.matchManagedConnections(java.util.Set, javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)

setLogWriter

public void setLogWriter(java.io.PrintWriter pw)
                  throws javax.resource.ResourceException
Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.setLogWriter(java.io.PrintWriter)

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws javax.resource.ResourceException
Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException
See Also:
ManagedConnectionFactory.getLogWriter()

getAuthenticationMethod

public java.lang.String getAuthenticationMethod()
Returns:
Returns the authenticationMethod.

setAuthenticationMethod

public void setAuthenticationMethod(java.lang.String authenticationMethod)
Parameters:
authenticationMethod - The authenticationMethod to set.

getLifeCycleManagerURL

public java.lang.String getLifeCycleManagerURL()
Returns:
Returns the lifeCycleManagerURL.

setLifeCycleManagerURL

public void setLifeCycleManagerURL(java.lang.String lifeCycleManagerURL)
Parameters:
lifeCycleManagerURL - The lifeCycleManagerURL to set.

getMaxRows

public java.lang.Integer getMaxRows()
Returns:
Returns the maxRows.

setMaxRows

public void setMaxRows(java.lang.Integer maxRows)
Parameters:
maxRows - The maxRows to set.

getPostalAddressScheme

public java.lang.String getPostalAddressScheme()
Returns:
Returns the postalAddressScheme.

setPostalAddressScheme

public void setPostalAddressScheme(java.lang.String postalAddressScheme)
Parameters:
postalAddressScheme - The postalAddressScheme to set.

getQueryManagerURL

public java.lang.String getQueryManagerURL()
Returns:
Returns the queryManagerURL.

setQueryManagerURL

public void setQueryManagerURL(java.lang.String queryManagerURL)
Parameters:
queryManagerURL - The queryManagerURL to set.

getSemanticEquivalences

public java.lang.String getSemanticEquivalences()
Returns:
Returns the semanticEquivalences.

setSemanticEquivalences

public void setSemanticEquivalences(java.lang.String semanticEquivalences)
Parameters:
semanticEquivalences - The semanticEquivalences to set.