Class Resource.Factory

java.lang.Object
org.jboss.as.controller.registry.Resource.Factory
Enclosing interface:
Resource

public static class Resource.Factory extends Object
  • Method Details

    • create

      public static Resource create()
      Create a default resource implementation. Equivalent to create(false).
      Returns:
      the resource
    • create

      public static Resource create(boolean runtimeOnly)
      Create a default resource implementation.
      Parameters:
      runtimeOnly - the value the resource should return from Resource.isRuntime()
      Returns:
      the resource
    • create

      public static Resource create(boolean runtimeOnly, Set<String> orderedChildTypes)
      Create a default resource implementation.
      Parameters:
      runtimeOnly - the value the resource should return from Resource.isRuntime()
      orderedChildTypes - the names of any child types where the order of the children matters
      Returns:
      the resource