Resource.Factory, Resource.NoSuchResourceException, Resource.ResourceEntry, Resource.Tools| Constructor and Description |
|---|
TimerServiceResource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
Resource |
getChild(PathElement element)
Get a single child of this resource with the given address.
|
Set<Resource.ResourceEntry> |
getChildren(String childType)
Get the children for a given type.
|
Set<String> |
getChildrenNames(String childType)
Get the children names for a given type.
|
Set<String> |
getChildTypes()
Get a list of registered child types for this resource.
|
org.jboss.dmr.ModelNode |
getModel()
Get the local model.
|
boolean |
hasChild(PathElement element)
Determine whether this resource has a child with the given address.
|
boolean |
hasChildren(String childType)
Determine whether this resource has any child of a given type.
|
boolean |
isModelDefined()
Determine whether the model of this resource is defined.
|
boolean |
isProxy() |
boolean |
isRuntime() |
Resource |
navigate(PathAddress address)
Navigate the resource tree.
|
void |
registerChild(PathElement address,
Resource resource)
Register a child resource.
|
Resource |
removeChild(PathElement address)
Remove a child resource.
|
Resource |
requireChild(PathElement element)
Get a single child of this resource with the given address.
|
void |
timerCreated(String id) |
void |
timerRemoved(String id) |
void |
writeModel(org.jboss.dmr.ModelNode newModel)
Write the model.
|
public org.jboss.dmr.ModelNode getModel()
ResourcegetModel in interface ResourceResource.getModel()public void writeModel(org.jboss.dmr.ModelNode newModel)
ResourcewriteModel in interface ResourcenewModel - Resource.writeModel(org.jboss.dmr.ModelNode)public boolean isModelDefined()
ResourceisModelDefined in interface ResourceResource.isModelDefined()public boolean hasChild(PathElement element)
ResourcePathElement has
a wildcard as value, it will determine whether this resource has any resources of a given type.hasChild in interface Resourceelement - Resource.hasChild(org.jboss.as.controller.PathElement)public Resource getChild(PathElement element)
Resourcenull.getChild in interface Resourceelement - Resource.getChild(org.jboss.as.controller.PathElement)public Resource requireChild(PathElement element)
ResourcerequireChild in interface Resourceelement - Resource.requireChild(org.jboss.as.controller.PathElement)public boolean hasChildren(String childType)
ResourcehasChildren in interface ResourcechildType - Resource.hasChildren(java.lang.String)public Resource navigate(PathAddress address)
Resourcenavigate in interface Resourceaddress - Resource.navigate(org.jboss.as.controller.PathAddress)public Set<String> getChildTypes()
ResourcegetChildTypes in interface ResourceResource.getChildTypes()public Set<String> getChildrenNames(String childType)
ResourcegetChildrenNames in interface ResourcechildType - Resource.getChildrenNames(java.lang.String)public Set<Resource.ResourceEntry> getChildren(String childType)
ResourcegetChildren in interface ResourcechildType - Resource.getChildren(java.lang.String)public void registerChild(PathElement address, Resource resource)
ResourceregisterChild in interface Resourceaddress - resource - Resource.registerChild(org.jboss.as.controller.PathElement,
org.jboss.as.controller.registry.Resource)public Resource removeChild(PathElement address)
ResourceremoveChild in interface Resourceaddress - Resource.removeChild(org.jboss.as.controller.PathElement)public boolean isRuntime()
isRuntime in interface ResourceResource.isRuntime()public boolean isProxy()
isProxy in interface ResourceResource.isProxy()public Resource clone()
clone in interface Resourceclone in class ObjectResource.clone()public void timerCreated(String id)
public void timerRemoved(String id)
Copyright © 2014 JBoss by Red Hat. All rights reserved.