public class KernelServices extends Object
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
executeOperation(org.jboss.dmr.ModelNode operation)
Execute an operation in the model controller
|
org.jboss.msc.service.ServiceContainer |
getContainer()
Gets the service container
|
String |
getPersistedSubsystemXml()
Reads the persisted subsystem xml
|
org.jboss.dmr.ModelNode |
readWholeModel()
Reads the whole model from the model controller
|
void |
shutdown() |
void |
validateOperation(org.jboss.dmr.ModelNode operation)
Validates the operation against the description providers in the model controller
|
void |
validateOperations(List<org.jboss.dmr.ModelNode> operations)
Validates the operations against the description providers in the model controller
|
public org.jboss.msc.service.ServiceContainer getContainer()
public org.jboss.dmr.ModelNode executeOperation(org.jboss.dmr.ModelNode operation)
operation - the operation to executepublic String getPersistedSubsystemXml()
public org.jboss.dmr.ModelNode readWholeModel()
public void validateOperations(List<org.jboss.dmr.ModelNode> operations)
operations - the operations to validatejunit.framework.AssertionFailedError - if the operations are not validpublic void validateOperation(org.jboss.dmr.ModelNode operation)
operation - the operation to validatejunit.framework.AssertionFailedError - if the operation is not validpublic void shutdown()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.