Class ManagedSessionFactory

java.lang.Object
org.exoplatform.connectors.jcr.impl.adapter.ManagedSessionFactory
All Implemented Interfaces:
Serializable, javax.resource.spi.ManagedConnectionFactory

public class ManagedSessionFactory extends Object implements javax.resource.spi.ManagedConnectionFactory
Version:
$Id$
Author:
Nicolas Filotto
See Also:
  • Constructor Details

    • ManagedSessionFactory

      public ManagedSessionFactory()
  • Method Details

    • createConnectionFactory

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

      public Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) 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)
    • createManagedConnection

      public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
      Specified by:
      createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • getLogWriter

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

      public javax.resource.spi.ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
      Specified by:
      matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • setLogWriter

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

      public String getPortalContainer()
      Returns:
      the portalContainer
    • setPortalContainer

      public void setPortalContainer(String portalContainer)
      Parameters:
      portalContainer - the portalContainer to set
    • getRepository

      public String getRepository()
      Returns:
      the repository
    • setRepository

      public void setRepository(String repository)
      Parameters:
      repository - the repository to set
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface javax.resource.spi.ManagedConnectionFactory
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface javax.resource.spi.ManagedConnectionFactory
      Overrides:
      equals in class Object
      See Also: