public abstract class AbstractRepositoryGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected RepositoryProvider |
_repositoryProvider
The repository provider.
|
protected Session |
_session
The JCR repository session
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
AbstractRepositoryGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_getRepository(Request request,
String workspaceName)
Get the repository and session and set the _repository and _session protected fields
|
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected RepositoryProvider _repositoryProvider
public AbstractRepositoryGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
protected void _getRepository(Request request, String workspaceName) throws ProcessingException
request
- The requestworkspaceName
- The jcr workspaceProcessingException
- if an error occured