|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.jboss.extension.resources.ExtensionConfigurationService
public class ExtensionConfigurationService
A service wrapper around counter instances.
Field Summary | |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME The name of the counter service collection. |
Fields inherited from interface org.jboss.msc.service.Service |
---|
NULL, NULL_VALUE |
Constructor Summary | |
---|---|
ExtensionConfigurationService(de.smartics.properties.spi.config.config.ExtensionConfiguration configurations) Default constructor. |
Method Summary | |
---|---|
void |
addConfiguration(de.smartics.properties.spi.config.config.PropertiesConfiguration configuration) Adds the given configuration. |
de.smartics.properties.spi.config.config.PropertiesConfiguration |
getConfiguration(String name) Returns the configuration stored with the given name . |
de.smartics.properties.spi.config.config.ExtensionConfiguration |
getValue() |
de.smartics.properties.spi.config.config.PropertiesConfiguration |
removeConfiguration(String name) Removes the configuration with the given name. |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
Constructor Detail |
---|
public ExtensionConfigurationService(de.smartics.properties.spi.config.config.ExtensionConfiguration configurations) throws NullPointerException
configuration
- the wrapped configurations instance.
NullPointerException
- if
configurations
is
null
.
Method Detail |
---|
@CheckForNull public de.smartics.properties.spi.config.config.PropertiesConfiguration getConfiguration(String name) throws NullPointerException, IllegalArgumentException
name
.
name
- the name of the configuration to return.
null
, if no configuration is registered with this name.
NullPointerException
- if
name
is
null
.
IllegalArgumentException
- if
name
is blank.
public void addConfiguration(de.smartics.properties.spi.config.config.PropertiesConfiguration configuration) throws NullPointerException
configuration
- the configuration to add.
NullPointerException
- if
configuration
is
null
.
@CheckForNull public de.smartics.properties.spi.config.config.PropertiesConfiguration removeConfiguration(String name) throws NullPointerException, IllegalArgumentException
name
- the name of the configuration to remove.
null
if no has been stored by this
name
.
NullPointerException
- if
name
is
null
.
IllegalArgumentException
- if
name
is blank.
public de.smartics.properties.spi.config.config.ExtensionConfiguration getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface
org.jboss.msc.value.Value<de.smartics.properties.spi.config.config.ExtensionConfiguration>
IllegalStateException
IllegalArgumentException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface
org.jboss.msc.service.Service<de.smartics.properties.spi.config.config.ExtensionConfiguration>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface
org.jboss.msc.service.Service<de.smartics.properties.spi.config.config.ExtensionConfiguration>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |