public abstract class AbstractConfigurationBean extends Object implements CloneableConfigurationComponent, JAXBUnmarshallable
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
overriddenConfigurationElements |
Modifier | Constructor and Description |
---|---|
protected |
AbstractConfigurationBean() |
Modifier and Type | Method and Description |
---|---|
CloneableConfigurationComponent |
clone() |
protected abstract boolean |
hasComponentStarted()
Tests whether the component this configuration bean intents to configure has already started.
|
protected void |
testImmutability(String fieldName)
Checks field modifications via setters
|
protected static TypedProperties |
toTypedProperties(Properties p)
Converts a given
Properties instance to an instance of TypedProperties |
protected static TypedProperties |
toTypedProperties(String s) |
protected String |
uc(String s)
Safely converts a String to upper case.
|
void |
willUnmarshall(Object parent)
Indicates that this element is about to be unmarshalled from the XML source that was processed.
|
protected String uc(String s)
s
- string to convertprotected static TypedProperties toTypedProperties(Properties p)
Properties
instance to an instance of TypedProperties
p
- properties to convertprotected static TypedProperties toTypedProperties(String s)
protected abstract boolean hasComponentStarted()
protected void testImmutability(String fieldName)
fieldName
- public CloneableConfigurationComponent clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
clone
in class Object
CloneNotSupportedException
public void willUnmarshall(Object parent)
JAXBUnmarshallable
willUnmarshall
in interface JAXBUnmarshallable
parent
- parent componentCopyright © 2012 JBoss by Red Hat. All Rights Reserved.