Interface PersistentResourceXMLDescription.AdditionalOperationsGenerator

  • Enclosing class:
    PersistentResourceXMLDescription
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface PersistentResourceXMLDescription.AdditionalOperationsGenerator
    Some resources require more operations that just a simple add. This interface provides a hook for these to be plugged in.
    • Method Detail

      • additionalOperations

        void additionalOperations​(PathAddress address,
                                  org.jboss.dmr.ModelNode addOperation,
                                  List<org.jboss.dmr.ModelNode> operations)
        Generates any additional operations required by the resource
        Parameters:
        address - The address of the resource
        addOperation - The add operation for the resource
        operations - The operation list