ModeShape Distribution 3.0.0.Beta4

org.modeshape.jboss.subsystem
Class SequencerWriteAttributeHandler

java.lang.Object
  extended by org.jboss.as.controller.AbstractWriteAttributeHandler<Void>
      extended by org.modeshape.jboss.subsystem.AbstractRepositoryConfigWriteAttributeHandler
          extended by org.modeshape.jboss.subsystem.SequencerWriteAttributeHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public class SequencerWriteAttributeHandler
extends AbstractRepositoryConfigWriteAttributeHandler

An OperationStepHandler implementation that handles changes to the model values for a sequencer submodel's attribute definitions. Those attributes that can be changed RESTART_NONE without restarting will be immediately reflected in the repository's configuration; other attributes will be changed in the submodel and used upon the next restart.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
org.jboss.as.controller.AbstractWriteAttributeHandler.HandbackHolder<T>
 
Method Summary
protected  boolean changeField(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, RepositoryService repositoryService, MappedAttributeDefinition defn, org.jboss.dmr.ModelNode newValue)
           
protected  String sequencerName(org.jboss.dmr.ModelNode operation)
           
 
Methods inherited from class org.modeshape.jboss.subsystem.AbstractRepositoryConfigWriteAttributeHandler
allBut, applyUpdateToRuntime, changeConfiguration, registerAttributes, repositoryName, revertUpdateToRuntime, unique
 
Methods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
execute, getAttributeDefinition, requiresRuntime, validateResolvedValue, validateUnresolvedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

changeField

protected boolean changeField(org.jboss.as.controller.OperationContext context,
                              org.jboss.dmr.ModelNode operation,
                              RepositoryService repositoryService,
                              MappedAttributeDefinition defn,
                              org.jboss.dmr.ModelNode newValue)
                       throws RepositoryException,
                              org.jboss.as.controller.OperationFailedException
Overrides:
changeField in class AbstractRepositoryConfigWriteAttributeHandler
Throws:
RepositoryException
org.jboss.as.controller.OperationFailedException

sequencerName

protected final String sequencerName(org.jboss.dmr.ModelNode operation)

ModeShape Distribution 3.0.0.Beta4

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