Class OperationDefinitionHelper

java.lang.Object
org.wildfly.extension.messaging.activemq.OperationDefinitionHelper

public class OperationDefinitionHelper extends Object
Helper class to define operations.
Author:
Jeff Mesnil (c) 2014 Red Hat inc.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.jboss.as.controller.AttributeDefinition
     
    static String
    resolveFilter(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
     
    static org.jboss.as.controller.SimpleOperationDefinitionBuilder
    runtimeOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
    Create a SimpleOperationDefinitionBuilder for the given operationName and flag it as runtime only.
    static org.jboss.as.controller.SimpleOperationDefinitionBuilder
    runtimeReadOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
    Create a SimpleOperationDefinitionBuilder for the given operationName and flag it as read only and runtime only.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OperationDefinitionHelper

      public OperationDefinitionHelper()
  • Method Details

    • createNonEmptyStringAttribute

      public static org.jboss.as.controller.AttributeDefinition createNonEmptyStringAttribute(String attributeName)
    • runtimeReadOnlyOperation

      public static org.jboss.as.controller.SimpleOperationDefinitionBuilder runtimeReadOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
      Create a SimpleOperationDefinitionBuilder for the given operationName and flag it as read only and runtime only.
    • runtimeOnlyOperation

      public static org.jboss.as.controller.SimpleOperationDefinitionBuilder runtimeOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
      Create a SimpleOperationDefinitionBuilder for the given operationName and flag it as runtime only.
    • resolveFilter

      public static String resolveFilter(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
      Throws:
      org.jboss.as.controller.OperationFailedException