org.jbpm.jcr.impl
Class AbstractJcrServiceFactory

java.lang.Object
  extended by org.jbpm.jcr.impl.AbstractJcrServiceFactory
All Implemented Interfaces:
java.io.Serializable, ServiceFactory
Direct Known Subclasses:
JackrabbitJcrServiceFactory, JndiJcrServiceFactory

public abstract class AbstractJcrServiceFactory
extends java.lang.Object
implements ServiceFactory

See Also:
Serialized Form

Constructor Summary
AbstractJcrServiceFactory()
           
 
Method Summary
 void close()
          close this service factory
protected abstract  javax.jcr.Repository getRepository()
           
 Service openService()
          open a service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJcrServiceFactory

public AbstractJcrServiceFactory()
Method Detail

openService

public Service openService()
Description copied from interface: ServiceFactory
open a service. The service is to be closed on the Service object.

Specified by:
openService in interface ServiceFactory

getRepository

protected abstract javax.jcr.Repository getRepository()

close

public void close()
Description copied from interface: ServiceFactory
close this service factory

Specified by:
close in interface ServiceFactory