Package | Description |
---|---|
org.settings4j | |
org.settings4j.config | |
org.settings4j.connector | |
org.settings4j.helper.configuration | |
org.settings4j.settings | |
org.settings4j.settings.position | |
org.settings4j.util |
Modifier and Type | Method and Description |
---|---|
Connector |
Settings4jInstance.getConnector(String connectorName)
Return the
Connector for the given Name. |
static Connector |
Settings4j.getConnector(String connectorName)
Return the
Connector for the given Name. |
Modifier and Type | Method and Description |
---|---|
List<Connector> |
Settings4jInstance.getConnectors()
Return a List off
Connector who can be used with this Settings4jInstance instance. |
static List<Connector> |
Settings4j.getConnectors()
Return a List off
Connector who can be used with this Settings4j instance. |
Modifier and Type | Method and Description |
---|---|
void |
Settings4jInstance.addConnector(Connector connector)
Add a
Connector . |
void |
Connector.addConnector(Connector connector)
Add a Connector if you needed inside the
init() Methode. |
void |
Settings4jInstance.addConnector(Connector connector,
ConnectorPosition position)
Add a custom
Connector to the right position in relation to the other connectors. |
Modifier and Type | Method and Description |
---|---|
static ConnectorPosition |
ConnectorPositions.afterFirst(Class<? extends Connector> connectorClass) |
static ConnectorPosition |
ConnectorPositions.afterLast(Class<? extends Connector> connectorClass) |
static ConnectorPosition |
ConnectorPositions.beforeFirst(Class<? extends Connector> connectorClass) |
static ConnectorPosition |
ConnectorPositions.beforeLast(Class<? extends Connector> connectorClass) |
int |
ConnectorPosition.getPosition(List<Connector> connectors) |
Modifier and Type | Method and Description |
---|---|
protected Connector |
DOMConfigurator.findConnectorByName(Document doc,
String connectorName)
Used internally to parse connectors by IDREF name.
|
protected Connector |
DOMConfigurator.findConnectorByReference(Element connectorRef)
Used internally to parse connectors by IDREF element.
|
protected Connector[] |
DOMConfigurator.getConnectors(Element connectorsElement)
Return all referenced connectors from Child-Nodes
DOMConfigurator.CONNECTOR_REF_TAG . |
protected Connector |
DOMConfigurator.parseConnector(Element connectorElement)
Used internally to parse an connector element.
|
Modifier and Type | Method and Description |
---|---|
protected String |
DOMConfigurator.subst(String value,
Connector[] connectors)
This function will replace expressions like ${connectors.string['']}.
|
protected Object |
DOMConfigurator.subst(String value,
Connector[] connectors,
Class clazz)
This function will replace expressions like ${connectors.object['']} or simply ${true}.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnector
Basic Connector implementations like getter and Setter of contentResolver, objectResolver.
|
class |
AbstractPropertyConnector
Basic Implementation of
Connector s whiche are Property-related. |
class |
CachedConnectorWrapper
Wrap a Connector and caches all Values.
|
class |
ClasspathConnector
Connector implementation to read Settings from the Classpath.
|
class |
EnvironmentConnector
The Environment variable implementation of an
Connector . |
class |
FilteredConnectorWrapper
|
class |
FSConnector
The FileSystem implementation of an
Connector . |
class |
JNDIConnector
The JNDI Context implementation of an
Connector . |
class |
PreferencesConnector
Connector which uses the
Preferences feature of Java. |
class |
PropertyFileConnector
The
Properties -File implementation of an Connector . |
class |
SystemPropertyConnector
The SystemProperties implementation of an
Connector . |
Modifier and Type | Method and Description |
---|---|
List<Connector> |
AbstractConnector.getConnectors() |
Modifier and Type | Method and Description |
---|---|
void |
FilteredConnectorWrapper.addConnector(Connector connector)
Add a Connector if you needed inside the
init() Methode. |
void |
CachedConnectorWrapper.addConnector(Connector connector)
Add a Connector if you needed inside the
init() Methode. |
void |
AbstractConnector.addConnector(Connector connector)
Add a Connector if you needed inside the
init() Methode. |
Constructor and Description |
---|
CachedConnectorWrapper(Connector targetConnector) |
FilteredConnectorWrapper(Connector targetConnector,
Filter filter) |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationToConnectorAdapter
Adapter to use an Apache Commons Configuration
as Settings4j connector.
|
Modifier and Type | Method and Description |
---|---|
Connector |
DefaultSettings.getConnector(String connectorName)
Return the
Connector for the given Name. |
Modifier and Type | Method and Description |
---|---|
List<Connector> |
DefaultSettings.getConnectors()
Return a List off
Connector who can be used with this Settings4jInstance instance. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSettings.addConnector(Connector connector)
Add a
Connector . |
void |
DefaultSettings.addConnector(Connector connector,
ConnectorPosition position)
Add a custom
Connector to the right position in relation to the other connectors. |
Modifier and Type | Method and Description |
---|---|
int |
ConnectorPositionFirstValid.getPosition(List<Connector> connectors) |
int |
ConnectorPositionBeforeName.getPosition(List<Connector> connectors) |
int |
ConnectorPositionBeforeLastClass.getPosition(List<Connector> connectors) |
int |
ConnectorPositionBeforeFirstClass.getPosition(List<Connector> connectors) |
int |
ConnectorPositionAtLast.getPosition(List<Connector> connectors) |
int |
ConnectorPositionAtFirst.getPosition(List<Connector> connectors) |
int |
ConnectorPositionAfterName.getPosition(List<Connector> connectors) |
int |
ConnectorPositionAfterLastClass.getPosition(List<Connector> connectors) |
int |
ConnectorPositionAfterFirstClass.getPosition(List<Connector> connectors) |
Constructor and Description |
---|
ConnectorPositionAfterFirstClass(Class<? extends Connector> connectorClass) |
ConnectorPositionAfterLastClass(Class<? extends Connector> connectorClass) |
ConnectorPositionBeforeFirstClass(Class<? extends Connector> connectorClass) |
ConnectorPositionBeforeLastClass(Class<? extends Connector> connectorClass) |
Constructor and Description |
---|
ELConnectorWrapper(Connector[] connectors)
The list of all connectors, where Values can be searched.
|
Copyright © 2008–2014. All rights reserved.