Package | Description |
---|---|
neo.nursery | |
neo.nursery.transformers |
Modifier and Type | Class and Description |
---|---|
class |
RecursiveBusException
The bus was detected to have a configuration loop which was impossible to resolve.
|
Modifier and Type | Method and Description |
---|---|
static void |
GlobalBus.createTestBus(Configurator configurator)
Create a global bus from scratch if there is no global bus
created before, or if the system has been wired for test earlier.
|
static void |
BusFactory.destroyBus() |
int |
PropertyValueParserFactoryImpl.getDefaultExpansionLevels() |
int |
PropertyValueParserFactory.getDefaultExpansionLevels()
returns the value that was set by setDefaultExpansionLevels.
|
Depot |
ResourceDepot.getDepot(String pUri)
Supports classpath uri's like "classpath:/my/prefix/".
|
Depot |
JarURIDepot.getDepot(String pURI) |
Depot |
JarFileDepot.getDepot(String pURI)
Supports file uri's like "/my/directory/my.jar".
|
Depot |
FileSystemDepot.getDepot(String pUri)
Supports file uri's like "file:/my/directory/" or "/my/directory/".
|
Depot |
Depot.getDepot(String pUri)
Implementers of this method should return a new Depot if the
Depot implementation supports the uri.
|
Object |
PropertyValue.getExpandedObject()
calls getExpandedObject() and returns its result
will be null if PropertyValue.isMeaningless() == true
|
String |
PropertyValue.getExpandedValue()
returns getExpandedObject().toString()
|
int |
PropertyValueParserImpl.getExpansionLevels() |
int |
PropertyValueParser.getExpansionLevels()
returns the value that was set by setExpansionLevels.
|
static Bus |
GlobalBus.getGlobalBus()
Returns the single global bus, a form of Singleton object.
|
Object |
PropertyValue.getObject()
calls getExpandedObject() and returns its result
will be null if PropertyValue.isMeaningless() == true
|
List<Bus.Property> |
ClassLoadingBus.getProperties(String pComponentName) |
List<Bus.Property> |
Bus.getProperties(String pComponentName)
Returns a list of all available properties for the component with the given name
|
Properties |
PropertyFileConfigurator.getPropertiesFor(String name) |
Properties |
MultipleConfigurator.getPropertiesFor(String name) |
Properties |
MemoryConfigurator.getPropertiesFor(String name)
Constructor for the getPropertiesFrom object
|
Properties |
Configurator.getPropertiesFor(String name)
Returns a set of properties for a given component name.
|
Properties |
CachingConfigurator.getPropertiesFor(String name)
Returns a set of properties for a given component name.
|
PropertyValueParser |
PropertyValueParserFactoryImpl.getPropertyValueParser()
returns a PropertyValueParserImpl
|
PropertyValueParser |
PropertyValueParserFactory.getPropertyValueParser()
returns a PropertyValueParser implementation
|
String |
PropertyValueAbstractImpl.getUnparsedValue() |
String |
PropertyValue.getUnparsedValue()
returns the unparsed value that is passed to the PropertValue on construction
|
String |
PropertyValue.getValue()
Will lookup external references and return the result as an Object
If the source of the object is a property file the result type will
be of String.
|
boolean |
PropertyValue.isMeaningless()
When the valu of a property is empty or meaningless
|
static <O> O |
GlobalBus.lookup(String name)
Returns the object defined by the given name.
|
<O> O |
ClassLoadingBus.lookup(String name) |
<O> O |
Bus.lookup(String name)
returns the object defined by the given name.
|
static void |
GlobalBus.main(String[] args) |
PropertyValue |
PropertyValueParserImpl.parse(String pComponentName,
String pRopertyValue,
Configurator pConfigurator) |
PropertyValue |
PropertyValueParser.parse(String pComponentName,
String pPropertyValue,
Configurator pConfigurator)
Calls parse(pComponentName, pPropertyValue, pConfigurator, pContext) with null as a value for pContext
|
PropertyValue |
PropertyValueParserImpl.parse(String pComponentName,
String pPropertyValue,
Configurator pConfigurator,
Context pContext) |
PropertyValue |
PropertyValueParser.parse(String pComponentName,
String pRopertyValue,
Configurator pConfigurator,
Context pContext)
The values that are fed to the parser originate in a pConfigurator and belong to a component.
|
void |
PropertyValueParserFactoryImpl.setDefaultExpansionLevels(int pDefaultExpansionLevels) |
void |
PropertyValueParserFactory.setDefaultExpansionLevels(int pExpansionLevels)
sets the defaultExpansionLevels and ensures they are within the limits
|
void |
PropertyValueParserImpl.setExpansionLevels(int pExpansionLevels) |
void |
PropertyValueParser.setExpansionLevels(int pExpansionLevels)
The ExpansionLevels will be used to limit the amount of levels the value will be expanded when there are more
expansions are expanded themselves.
|
void |
ClassLoadingBus.setProperty(String pComponentName,
String pPropertyName,
String pPropertyValue) |
void |
Bus.setProperty(String pComponentName,
String pPropertyName,
String pPropertyValue) |
void |
Bus.Property.setValue(String pValue)
Sets the value of the property to the new value.
|
protected File |
JarFileDepot.toFile(String pJarFile) |
protected File |
JarURIDepot.toFile(URI pJarFile) |
Object |
PropertyTransformer.transform(PropertyTransformer.PropertyDescriptor pDescriptor,
String pValue)
Transforms
pValue into an object of the provided pType |
Constructor and Description |
---|
JarFileDepot(String pJarFile) |
PropertyValueAbstractImpl(String pUnparsedValue)
should be called in the constructor of implementing classes to ensure a correct result of getUnparsedValue()
the pUnparsedValue should have a value
|
Modifier and Type | Method and Description |
---|---|
protected Map |
MapPropertyTransformer.createPrototype() |
protected abstract V |
CompositePropertyTransformer.createPrototype() |
protected Collection |
CollectionPropertyTransformer.createPrototype() |
Object |
EnumPropertyTransformer.transform(PropertyTransformer.PropertyDescriptor pDescriptor,
String pValue) |
Object |
CompositePropertyTransformer.transform(PropertyTransformer.PropertyDescriptor pDescriptor,
String pValue) |
Object |
AbstractPropertyTransformer.transform(PropertyTransformer.PropertyDescriptor pDescriptor,
String pValue)
Transforms
pValue into an object of the provided pType . |
protected Object |
InetAddressTransformer.transform(String pValue) |
protected abstract Object |
AbstractPropertyTransformer.transform(String pValue)
Transforms the input object (leaving it unchanged) into some output object.
|
protected void |
CollectionPropertyTransformer.transformToken(Collection pValue,
String pToken,
PropertyTransformer.PropertyDescriptor pDescriptor) |
protected void |
MapPropertyTransformer.transformToken(Map pValue,
String pToken,
PropertyTransformer.PropertyDescriptor pDescriptor) |
protected abstract void |
CompositePropertyTransformer.transformToken(V pValue,
String pToken,
PropertyTransformer.PropertyDescriptor pDescriptor) |
protected Object |
AbstractPropertyTransformer.transformWithFallbackToStaticFieldIfTransformationFails(String pValue,
Class pPropertyType) |
© 1998- 2021 Escenic AS