Search in sources :

Example 26 with BootstrapProperties

use of com.adaptris.core.management.BootstrapProperties in project interlok by adaptris.

the class DefaultPreProcessorLoader method resolve.

private ConfigPreProcessor resolve(String name, BootstrapProperties bootstrapProperties) throws CoreException {
    ConfigPreProcessor result = null;
    Properties p = getPropertyLoader().loadPropertyFile(name);
    String classname = p.getProperty(CLASS_PROPERTY_KEY, name);
    return this.createInstance(classname, bootstrapProperties);
}
Also used : Properties(java.util.Properties) BootstrapProperties(com.adaptris.core.management.BootstrapProperties)

Aggregations

BootstrapProperties (com.adaptris.core.management.BootstrapProperties)26 Test (org.junit.Test)25 NullConnection (com.adaptris.core.NullConnection)5 SharedConnection (com.adaptris.core.SharedConnection)5 SharedService (com.adaptris.core.SharedService)5 NullService (com.adaptris.core.NullService)4 Properties (java.util.Properties)3 ServiceList (com.adaptris.core.ServiceList)2 JunitBootstrapProperties (com.adaptris.core.stubs.JunitBootstrapProperties)2