Package org.jboss.as.jpa.management
Class DynamicManagementStatisticsResource
- java.lang.Object
-
- org.jboss.as.controller.registry.PlaceholderResource
-
- org.jboss.as.controller.registry.PlaceholderResource.PlaceholderResourceEntry
-
- org.jboss.as.jpa.management.DynamicManagementStatisticsResource
-
- All Implemented Interfaces:
Cloneable
,org.jboss.as.controller.registry.Resource
,org.jboss.as.controller.registry.Resource.ResourceEntry
public class DynamicManagementStatisticsResource extends org.jboss.as.controller.registry.PlaceholderResource.PlaceholderResourceEntry
Resource representing a Jakarta Persistence PersistenceUnit (from a persistence.xml) deployment.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc., Scott Marlow
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.registry.PlaceholderResource
org.jboss.as.controller.registry.PlaceholderResource.PlaceholderResourceEntry
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.registry.Resource
org.jboss.as.controller.registry.Resource.Factory, org.jboss.as.controller.registry.Resource.NoSuchResourceException, org.jboss.as.controller.registry.Resource.ResourceEntry, org.jboss.as.controller.registry.Resource.Tools
-
-
Constructor Summary
Constructors Constructor Description DynamicManagementStatisticsResource(Statistics statistics, String puName, String identificationLabel, EntityManagerFactoryLookup entityManagerFactoryLookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicManagementStatisticsResource
clone()
org.jboss.as.controller.registry.Resource
getChild(org.jboss.as.controller.PathElement element)
Set<org.jboss.as.controller.registry.Resource.ResourceEntry>
getChildren(String childType)
Set<String>
getChildrenNames(String childType)
Set<String>
getChildTypes()
org.jboss.dmr.ModelNode
getModel()
boolean
hasChild(org.jboss.as.controller.PathElement element)
boolean
hasChildren(String childType)
boolean
isModelDefined()
boolean
isProxy()
boolean
isRuntime()
org.jboss.as.controller.registry.Resource
navigate(org.jboss.as.controller.PathAddress address)
void
registerChild(org.jboss.as.controller.PathElement address, org.jboss.as.controller.registry.Resource resource)
org.jboss.as.controller.registry.Resource
removeChild(org.jboss.as.controller.PathElement address)
org.jboss.as.controller.registry.Resource
requireChild(org.jboss.as.controller.PathElement element)
-
Methods inherited from class org.jboss.as.controller.registry.PlaceholderResource.PlaceholderResourceEntry
equals, getName, getPathElement, hashCode
-
Methods inherited from class org.jboss.as.controller.registry.PlaceholderResource
getOrderedChildTypes, registerChild, writeModel
-
-
-
-
Constructor Detail
-
DynamicManagementStatisticsResource
public DynamicManagementStatisticsResource(Statistics statistics, String puName, String identificationLabel, EntityManagerFactoryLookup entityManagerFactoryLookup)
-
-
Method Detail
-
getModel
public org.jboss.dmr.ModelNode getModel()
- Specified by:
getModel
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
getModel
in classorg.jboss.as.controller.registry.PlaceholderResource
-
isModelDefined
public boolean isModelDefined()
- Specified by:
isModelDefined
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
isModelDefined
in classorg.jboss.as.controller.registry.PlaceholderResource
-
hasChild
public boolean hasChild(org.jboss.as.controller.PathElement element)
- Specified by:
hasChild
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
hasChild
in classorg.jboss.as.controller.registry.PlaceholderResource
-
getChild
public org.jboss.as.controller.registry.Resource getChild(org.jboss.as.controller.PathElement element)
- Specified by:
getChild
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
getChild
in classorg.jboss.as.controller.registry.PlaceholderResource
-
requireChild
public org.jboss.as.controller.registry.Resource requireChild(org.jboss.as.controller.PathElement element)
- Specified by:
requireChild
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
requireChild
in classorg.jboss.as.controller.registry.PlaceholderResource
-
hasChildren
public boolean hasChildren(String childType)
- Specified by:
hasChildren
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
hasChildren
in classorg.jboss.as.controller.registry.PlaceholderResource
-
navigate
public org.jboss.as.controller.registry.Resource navigate(org.jboss.as.controller.PathAddress address)
- Specified by:
navigate
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
navigate
in classorg.jboss.as.controller.registry.PlaceholderResource
-
getChildTypes
public Set<String> getChildTypes()
- Specified by:
getChildTypes
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
getChildTypes
in classorg.jboss.as.controller.registry.PlaceholderResource
-
getChildrenNames
public Set<String> getChildrenNames(String childType)
- Specified by:
getChildrenNames
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
getChildrenNames
in classorg.jboss.as.controller.registry.PlaceholderResource
-
getChildren
public Set<org.jboss.as.controller.registry.Resource.ResourceEntry> getChildren(String childType)
- Specified by:
getChildren
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
getChildren
in classorg.jboss.as.controller.registry.PlaceholderResource
-
registerChild
public void registerChild(org.jboss.as.controller.PathElement address, org.jboss.as.controller.registry.Resource resource)
- Specified by:
registerChild
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
registerChild
in classorg.jboss.as.controller.registry.PlaceholderResource
-
removeChild
public org.jboss.as.controller.registry.Resource removeChild(org.jboss.as.controller.PathElement address)
- Specified by:
removeChild
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
removeChild
in classorg.jboss.as.controller.registry.PlaceholderResource
-
isRuntime
public boolean isRuntime()
- Specified by:
isRuntime
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
isRuntime
in classorg.jboss.as.controller.registry.PlaceholderResource
-
isProxy
public boolean isProxy()
- Specified by:
isProxy
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
isProxy
in classorg.jboss.as.controller.registry.PlaceholderResource
-
clone
public DynamicManagementStatisticsResource clone()
- Specified by:
clone
in interfaceorg.jboss.as.controller.registry.Resource
- Overrides:
clone
in classorg.jboss.as.controller.registry.PlaceholderResource.PlaceholderResourceEntry
-
-