Package org.jboss.hal.core.deployment
Class DeploymentResources
- java.lang.Object
-
- org.jboss.hal.core.deployment.DeploymentResources
-
public class DeploymentResources extends Object
Provides methods to read subsystem resources from (sub)deployments.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEPLOYMENT_ADDRESSstatic StringSUBDEPLOYMENT_ADDRESS
-
Constructor Summary
Constructors Constructor Description DeploymentResources(Dispatcher dispatcher, StatementContext statementContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends DeploymentResource>
elemental2.promise.Promise<List<T>>readChildren(String subsystem, String resource, DeploymentResourceSupplier<T> supplier)<T extends DeploymentResource>
voidreadChildren(String subsystem, String resource, DeploymentResourceSupplier<T> supplier, Consumer<List<T>> callback)
-
-
-
Field Detail
-
DEPLOYMENT_ADDRESS
public static final String DEPLOYMENT_ADDRESS
- See Also:
- Constant Field Values
-
SUBDEPLOYMENT_ADDRESS
public static final String SUBDEPLOYMENT_ADDRESS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeploymentResources
@Inject public DeploymentResources(Dispatcher dispatcher, StatementContext statementContext)
-
-
Method Detail
-
readChildren
public <T extends DeploymentResource> void readChildren(String subsystem, String resource, DeploymentResourceSupplier<T> supplier, Consumer<List<T>> callback)
-
readChildren
public <T extends DeploymentResource> elemental2.promise.Promise<List<T>> readChildren(String subsystem, String resource, DeploymentResourceSupplier<T> supplier)
-
-