de.smartics.properties.jboss.extension.resources
Class PropertiesConfigurationResourceDefinition

Package class diagram package PropertiesConfigurationResourceDefinition
java.lang.Object
  extended by org.jboss.as.controller.SimpleResourceDefinition
      extended by de.smartics.properties.jboss.extension.resources.PropertiesConfigurationResourceDefinition
All Implemented Interfaces:
org.jboss.as.controller.ResourceDefinition

public class PropertiesConfigurationResourceDefinition
     
     
extends org.jboss.as.controller.SimpleResourceDefinition

The definition for the cache resource.


Field Summary
static String AN_NAME
          The name of the attribute that identifies the configuration.
static String CONFIG_ELEMENT_NAME
          The name of the XML element that contains the configuration information.
static org.jboss.as.controller.PathElement CONFIG_PATH
          The path to the configuration element.
static String CONFIGS_ELEMENT_NAME
          The name of the XML element that contains the configuration information.
static PropertiesConfigurationResourceDefinition INSTANCE
          The definition singleton.
static org.jboss.as.controller.SimpleAttributeDefinition NAME
          The attribute that holds the name of the configuration.
static org.jboss.as.controller.PathElement NAME_PATH
          The path to the element with the name of the configuration.
 
Constructor Summary
PropertiesConfigurationResourceDefinition()
          Default constructor.
 
Method Summary
 void apply(String identifier, de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig, org.jboss.dmr.ModelNode model)
           
 CacheComponent getCacheComponent()
          Returns the component for administration of cache information for a configuration.
 DataSourceComponent getDataSourceComponent()
          Returns the component for administration of data source information for a configuration.
 AdminResourceComponent getDefinitionsComponent()
          Returns the component for administration of property declarations and definitions information for a configuration.
 FactoriesComponent getFactoriesComponent()
          Returns the component for administration of factories information for a configuration.
 SecurityComponent getSecurityComponent()
          Returns the component for administration of security information for a configuration.
 void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)
           
 
Methods inherited from class org.jboss.as.controller.SimpleResourceDefinition
getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerChildren, registerOperations, registerRemoveOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGS_ELEMENT_NAME

public static final String CONFIGS_ELEMENT_NAME
The name of the XML element that contains the configuration information.

Constant Field Value:
"configurations"

AN_NAME

public static final String AN_NAME
The name of the attribute that identifies the configuration.

The value of this constant is "name".

Constant Field Value:
"name"

CONFIG_ELEMENT_NAME

public static final String CONFIG_ELEMENT_NAME
The name of the XML element that contains the configuration information.

Constant Field Value:
"configuration"

CONFIG_PATH

public static final org.jboss.as.controller.PathElement CONFIG_PATH
The path to the configuration element.


NAME_PATH

public static final org.jboss.as.controller.PathElement NAME_PATH
The path to the element with the name of the configuration.


NAME

public static final org.jboss.as.controller.SimpleAttributeDefinition NAME
The attribute that holds the name of the configuration.


INSTANCE

public static final PropertiesConfigurationResourceDefinition INSTANCE
The definition singleton.

Constructor Detail

PropertiesConfigurationResourceDefinition

public PropertiesConfigurationResourceDefinition()
Default constructor.

Method Detail

getDefinitionsComponent

public AdminResourceComponent getDefinitionsComponent()
Returns the component for administration of property declarations and definitions information for a configuration.

Returns:
the component for administration of property declarations and definitions information for a configuration.

getCacheComponent

public CacheComponent getCacheComponent()
Returns the component for administration of cache information for a configuration.

Returns:
the component for administration of cache information for a configuration.

getDataSourceComponent

public DataSourceComponent getDataSourceComponent()
Returns the component for administration of data source information for a configuration.

Returns:
the component for administration of data source information for a configuration.

getSecurityComponent

public SecurityComponent getSecurityComponent()
Returns the component for administration of security information for a configuration.

Returns:
the component for administration of security information for a configuration.

getFactoriesComponent

public FactoriesComponent getFactoriesComponent()
Returns the component for administration of factories information for a configuration.

Returns:
the component for administration of factories information for a configuration.

registerAttributes

public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)
Specified by:
registerAttributes in interface org.jboss.as.controller.ResourceDefinition
Overrides:
registerAttributes in class org.jboss.as.controller.SimpleResourceDefinition

apply

public void apply(String identifier,
                  de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig,
                  org.jboss.dmr.ModelNode model)


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.