org.ow2.jonas.ee.scout
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.ow2.jonas.ee.scout.ManagedConnectionFactoryImpl
All Implemented Interfaces:
Serializable, ManagedConnectionFactory

public class ManagedConnectionFactoryImpl
extends Object
implements ManagedConnectionFactory

Author:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
ManagedConnectionFactoryImpl()
           
 
Method Summary
 Object createConnectionFactory()
           
 Object createConnectionFactory(ConnectionManager manager)
           
 ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
          Not used.
 String getAuthenticationMethod()
           
 String getLifeCycleManagerURL()
           
 PrintWriter getLogWriter()
           
 Integer getMaxRows()
           
 String getPostalAddressScheme()
           
 String getQueryManagerURL()
           
 String getSemanticEquivalences()
           
 ManagedConnection matchManagedConnections(Set set, Subject subject, ConnectionRequestInfo cri)
          Not used.
 void setAuthenticationMethod(String authenticationMethod)
           
 void setLifeCycleManagerURL(String lifeCycleManagerURL)
           
 void setLogWriter(PrintWriter pw)
           
 void setMaxRows(Integer maxRows)
           
 void setPostalAddressScheme(String postalAddressScheme)
           
 void setQueryManagerURL(String queryManagerURL)
           
 void setSemanticEquivalences(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 Object createConnectionFactory(ConnectionManager manager)
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException
See Also:
ManagedConnectionFactory.createConnectionFactory(javax.resource.spi.ConnectionManager)

createConnectionFactory

public Object createConnectionFactory()
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException
See Also:
ManagedConnectionFactory.createConnectionFactory()

createManagedConnection

public ManagedConnection createManagedConnection(Subject subject,
                                                 ConnectionRequestInfo cri)
                                          throws ResourceException
Not used.

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

matchManagedConnections

public ManagedConnection matchManagedConnections(Set set,
                                                 Subject subject,
                                                 ConnectionRequestInfo cri)
                                          throws ResourceException
Not used.

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

setLogWriter

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

getLogWriter

public PrintWriter getLogWriter()
                         throws ResourceException
Specified by:
getLogWriter in interface ManagedConnectionFactory
Throws:
ResourceException
See Also:
ManagedConnectionFactory.getLogWriter()

getAuthenticationMethod

public String getAuthenticationMethod()
Returns:
Returns the authenticationMethod.

setAuthenticationMethod

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

getLifeCycleManagerURL

public String getLifeCycleManagerURL()
Returns:
Returns the lifeCycleManagerURL.

setLifeCycleManagerURL

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

getMaxRows

public Integer getMaxRows()
Returns:
Returns the maxRows.

setMaxRows

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

getPostalAddressScheme

public String getPostalAddressScheme()
Returns:
Returns the postalAddressScheme.

setPostalAddressScheme

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

getQueryManagerURL

public String getQueryManagerURL()
Returns:
Returns the queryManagerURL.

setQueryManagerURL

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

getSemanticEquivalences

public String getSemanticEquivalences()
Returns:
Returns the semanticEquivalences.

setSemanticEquivalences

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.