ModeShape Distribution 3.0.0.Beta4

org.modeshape.jboss.subsystem
Class AbstractAddBinaryStorage

java.lang.Object
  extended by org.jboss.as.controller.AbstractAddStepHandler
      extended by org.modeshape.jboss.subsystem.AbstractAddBinaryStorage
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
Direct Known Subclasses:
AddCacheBinaryStorage, AddCustomBinaryStorage, AddDatabaseBinaryStorage, AddFileBinaryStorage

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


Constructor Summary
protected AbstractAddBinaryStorage()
           
 
Method Summary
protected  void addControllersAndDependencies(String repositoryName, BinaryStorageService service, org.jboss.msc.service.ServiceBuilder<BinaryStorage> builder, List<org.jboss.msc.service.ServiceController<?>> newControllers, org.jboss.msc.service.ServiceTarget target)
           
protected  void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers)
           
protected abstract  void writeBinaryStorageConfiguration(String repositoryName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode storage, EditableDocument binaryStorage)
           
 
Methods inherited from class org.jboss.as.controller.AbstractAddStepHandler
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

AbstractAddBinaryStorage

protected AbstractAddBinaryStorage()
Method Detail

performRuntime

protected void performRuntime(org.jboss.as.controller.OperationContext context,
                              org.jboss.dmr.ModelNode operation,
                              org.jboss.dmr.ModelNode model,
                              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

writeBinaryStorageConfiguration

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

addControllersAndDependencies

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

ModeShape Distribution 3.0.0.Beta4

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