ModeShape Distribution 3.2.0.Final

org.modeshape.jboss.subsystem
Class AbstractAddIndexStorage

java.lang.Object
  extended by org.jboss.as.controller.AbstractAddStepHandler
      extended by org.modeshape.jboss.subsystem.AbstractAddIndexStorage
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
Direct Known Subclasses:
AbstractAddFileSystemIndexStorage, AddCacheIndexStorage, AddCustomIndexStorage, AddRamIndexStorage

public abstract class AbstractAddIndexStorage
extends org.jboss.as.controller.AbstractAddStepHandler


Constructor Summary
protected AbstractAddIndexStorage()
           
 
Method Summary
protected  void addControllersAndDependencies(String repositoryName, IndexStorageService service, List<org.jboss.msc.service.ServiceController<?>> newControllers, org.jboss.msc.service.ServiceBuilder<IndexStorage> builder, org.jboss.msc.service.ServiceTarget target)
           
protected  void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode storage, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers)
           
protected  void writeIndexingBackendConfiguration(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode storage, EditableDocument backend)
           
protected abstract  void writeIndexStorageConfiguration(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode storage, EditableDocument indexStorage, String repositoryName)
           
protected  void writeIndexStorageSpecificIndexingConfiguration(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode storage, EditableDocument indexing)
           
 
Methods inherited from class org.jboss.as.controller.AbstractAddStepHandler
createResource, execute, populateModel, populateModel, populateModel, requiresRuntime, requiresRuntimeVerification, rollbackRuntime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAddIndexStorage

protected AbstractAddIndexStorage()
Method Detail

performRuntime

protected void performRuntime(org.jboss.as.controller.OperationContext context,
                              org.jboss.dmr.ModelNode operation,
                              org.jboss.dmr.ModelNode storage,
                              org.jboss.as.controller.ServiceVerificationHandler verificationHandler,
                              List<org.jboss.msc.service.ServiceController<?>> newControllers)
                       throws org.jboss.as.controller.OperationFailedException
Overrides:
performRuntime in class org.jboss.as.controller.AbstractAddStepHandler
Throws:
org.jboss.as.controller.OperationFailedException

writeIndexStorageConfiguration

protected abstract void writeIndexStorageConfiguration(org.jboss.as.controller.OperationContext context,
                                                       org.jboss.dmr.ModelNode storage,
                                                       EditableDocument indexStorage,
                                                       String repositoryName)
                                                throws org.jboss.as.controller.OperationFailedException
Throws:
org.jboss.as.controller.OperationFailedException

writeIndexStorageSpecificIndexingConfiguration

protected void writeIndexStorageSpecificIndexingConfiguration(org.jboss.as.controller.OperationContext context,
                                                              org.jboss.dmr.ModelNode storage,
                                                              EditableDocument indexing)
                                                       throws org.jboss.as.controller.OperationFailedException
Throws:
org.jboss.as.controller.OperationFailedException

writeIndexingBackendConfiguration

protected void writeIndexingBackendConfiguration(org.jboss.as.controller.OperationContext context,
                                                 org.jboss.dmr.ModelNode storage,
                                                 EditableDocument backend)
                                          throws org.jboss.as.controller.OperationFailedException
Throws:
org.jboss.as.controller.OperationFailedException

addControllersAndDependencies

protected void addControllersAndDependencies(String repositoryName,
                                             IndexStorageService service,
                                             List<org.jboss.msc.service.ServiceController<?>> newControllers,
                                             org.jboss.msc.service.ServiceBuilder<IndexStorage> builder,
                                             org.jboss.msc.service.ServiceTarget target)
                                      throws org.jboss.as.controller.OperationFailedException
Throws:
org.jboss.as.controller.OperationFailedException

ModeShape Distribution 3.2.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.