Uses of Class
de.aristaflow.adept2.base.configuration.ConfigurationException
-
-
Uses of ConfigurationException in de.aristaflow.adept2.base.configuration
Subclasses of ConfigurationException in de.aristaflow.adept2.base.configuration Modifier and Type Class Description class
PropertyNotSetException
Configuration exception thrown, if a required property is not set in the configuration.Methods in de.aristaflow.adept2.base.configuration that throw ConfigurationException Modifier and Type Method Description abstract ConfigurationManager
ConfigurationManager. createChild(String instanceName, String componentType)
Creates a new configuration manager having all fields set to the same values as this configuration manager.void
ConfigurationManager. dumpConfiguration()
Dumps the root configuration to the log of this configuration manager with log levelLevel.FINE
.protected org.apache.commons.configuration2.Configuration
ConfigurationManager. getConfiguration(String instanceName)
Gets a configuration for the designated instance name which is a newConfiguration
-object.org.apache.commons.configuration2.Configuration
ConfigurationManager. getConfiguration(String instanceName, String componentType)
Loads the configuration of the designated instance of the designated component type.protected abstract org.apache.commons.configuration2.Configuration
ConfigurationManager. getRuntimeConfiguration(String instanceName)
Gets a runtime configuration for the designated instance name which is aConfiguration
-object that allows for storing the configuration values, for instance as file or in a database.protected void
LoggerManager. initialiseFileLogging(org.apache.commons.configuration2.Configuration configuration, File globalLogDir)
Initialises the file logging based on the designated configuration.protected void
ConfigurationPropertyProvider. initialiseProperties(Map<String,String> properties)
Initialises, checks and sets the values of the global properties as well as the substituted variables.protected void
PropertyProvider. initialiseProperties(Map<String,String> properties)
Initialises, checks and sets the values of the global properties as well as the substituted variables.protected org.apache.commons.configuration2.Configuration
ConfigurationManager. initRootConfiguration(String rootConfFileName, boolean eager, ConfigurationPropertyProvider provider)
Loads the root configuration from the configuration directories, initialises the logging based on this configuration and the logger manager of this configuration manager and dumps the configuration if desired.protected org.apache.commons.configuration2.Configuration
ConfigurationManager. loadAndDump(org.apache.commons.configuration2.Configuration conf, boolean eager, boolean debug)
Loads the designated configuration completely, that is the externally referenced configuration files will be integrated appropriately in the designated configuration.protected org.apache.commons.configuration2.CompositeConfiguration
ConfigurationManager. loadConfigurationFromFile(String instanceName, String fileName, boolean root)
Loads configuration values out of the configuration directories including the runtime and the provided configuration in the specified order into a newly created composite configuration.protected org.apache.commons.configuration2.Configuration
ConfigurationManager. loadReferencedConfigurations(org.apache.commons.configuration2.Configuration rootConf)
Eagerly loads all referenced configuration files and puts them in the root configurations per configuration directory using the appropriate prefix.protected void
ConfigurationValidator. rebuke(String description)
Constructs aConfigurationException
and throws it.protected void
ConfigurationValidator. rebukeIllegalValue(org.apache.commons.configuration2.Configuration configuration, String propertyName, String shortDescription)
Constructs aConfigurationException
and throws it.protected void
ConfigurationManager. setConfigurationDirectories(ConfigurationPropertyProvider provider)
Sets the configuration directories so that configurations are loaded in the appropriate order, that is, configuration directories before and after the provided configuration.protected abstract void
ConfigurationValidator. validate(org.apache.commons.configuration2.Configuration configuration)
Validates the configuration in the givenConfiguration
object.static org.apache.commons.configuration2.Configuration
ConfigurationDescriptionTools. validateConfiguration(org.apache.commons.configuration2.Configuration instConf, Class<?> implementingClass, boolean includeIfaces, String instanceName)
Validates the given configuration against theConfigurationDescription
of the designated class its parent classes and optionally also its (parent) interfaces.static org.apache.commons.configuration2.Configuration
ConfigurationDescriptionTools. validateConfiguration(org.apache.commons.configuration2.Configuration instConf, Class<?> implementingClass, String instanceName)
Validates the given configuration against theConfigurationDescription
of the given class.Constructors in de.aristaflow.adept2.base.configuration that throw ConfigurationException Constructor Description ConfigurationManager(String rootConfFileName, org.apache.commons.configuration2.Configuration providedConfiguration, boolean eager, ConfigurationPropertyProvider provider, LoggerManager loggerManager)
Creates a new configuration manager using the configuration properties of the designated provider and either a root configuration loaded from the designated file name, or the designated provided configuration or a mixture of both respecting the order of the configurations and configuration directories from the provider.ConfigurationPropertyProvider(Map<String,String> properties)
Creates a newConfigurationPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.ConfigurationPropertyProvider(Map<String,String> properties, boolean useDefaultConfDir, boolean defaultDsForRtConf)
Creates a newConfigurationPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.ConfigurationPropertyProvider(Map<String,String> properties, boolean useDefaultConfDir, String bundleConfigSubdir, boolean defaultDsForRtConf)
Creates a newConfigurationPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.ConfigurationPropertyProvider(Map<String,String> properties, String bundleConfigSubdir)
Creates a newConfigurationPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.ConfigurationPropertyProvider(Map<String,String> properties, String bundleConfigSubdir, boolean defaultDsForRtConf)
Creates a newConfigurationPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.PropertyProvider(Map<String,String> properties)
Creates a newPropertyProvider
and parses all corresponding global properties from the designated map and/or sets the properties appropriately.ServletConfigurationPropertyProvider(javax.servlet.ServletConfig config)
Creates a newServletConfigurationPropertyProvider
and parses all corresponding properties from the init parameter of the designated servlet configuration and the system properties.ServletConfigurationPropertyProvider(javax.servlet.ServletContext context)
Creates a newServletConfigurationPropertyProvider
and parses all corresponding properties from the init parameter of the designated servlet context and the system properties.SystemPropertyProvider()
Creates a newSystemPropertyProvider
and parses all corresponding system properties and/or sets the properties appropriately.SystemPropertyProvider(boolean useDefaultConfDir)
Creates a newSystemPropertyProvider
and parses all corresponding system properties and/or sets the properties appropriately.SystemPropertyProvider(boolean useDefaultConfDir, boolean defaultDsForRtConf)
Creates a newSystemPropertyProvider
and parses all corresponding system properties and/or sets the properties appropriately.SystemPropertyProvider(Map<String,String> overrides)
Creates a newSystemPropertyProvider
and parses the properties from the designated map.SystemPropertyProvider(Map<String,String> properties, boolean useDefaultConfDir, boolean defaultDsForRtConf)
Creates a newSystemPropertyProvider
by delegating directly to the parent provider. -
Uses of ConfigurationException in de.aristaflow.adept2.base.registry
Methods in de.aristaflow.adept2.base.registry that throw ConfigurationException Modifier and Type Method Description protected void
PluginRegistry.ConfigurationValidator. checkAllPluginTypes(org.apache.commons.configuration2.Configuration configuration)
Checks whether the designated configuration declares plugin types and if so, whether they are configured properly, that is all declared plugin instances have an implementation class or in case of runtime plugins, the plugin type provides a plugin classpath and a valid anonymous instance.protected void
AbstractRegistry. checkAndStoreProvidedObject(String instanceName, AbstractRegistry.InstanceInformation instInf)
Checks whether the designated instance that is provided as object via injection corresponds to its declared component interface and if so, stores it for the classloader of this class in the singleton instances.protected static org.apache.commons.configuration2.Configuration
AbstractRegistry. checkConfiguration(org.apache.commons.configuration2.Configuration configuration, String instanceName, Class<?> implementationClass)
Check the configuration description of the implementation class and whether the configuration contains the necessary values.protected void
LocalServiceRegistry.ConfigurationValidator. checkForNonExportedLocal(org.apache.commons.configuration2.Configuration configuration, String serviceType)
Checks whether the instances of the designated service type are exported or published in the designated properties.protected void
AbstractRegistry. checkImplementingClass(String instanceName, String implementingClassName)
Checks whether the implementing class has the right interface.protected List<String>
ServiceRegistry.ConfigurationValidator. checkLicenceManager(org.apache.commons.configuration2.Configuration configuration)
Checks the designated configuration for the licence manager.protected void
PluginRegistry.ConfigurationValidator. checkPluginDeclaration(org.apache.commons.configuration2.Configuration configuration, String pluginType, String pluginInstance)
Checks whether there is an implementation configured for the designated plugin instance.protected void
PluginRegistry.ConfigurationValidator. checkPluginInstances(org.apache.commons.configuration2.Configuration configuration, String pluginType)
Checks whether the instances of the designated plugin type are configured properly, that is they have an implementation class or in case of runtime plugins, the plugin type provides a plugin classpath and a valid anonymous instance.protected void
PluginRegistry.ConfigurationValidator. checkRuntimePluginDeclaration(org.apache.commons.configuration2.Configuration configuration, String pluginType)
Checks whether the designated plugin type declaring runtime plugins ('*') has a classpath configured.protected void
LocalServiceRegistry. checkServiceInterface(String serviceName, ADEPT2Service service)
Checks whether the designated service object does fulfill theADEPT2Service
-interface appropriately.protected void
AbstractRegistry. checkSupertype(String instanceName, Class<?> superType, Class<?> subType)
Checks, if the givensubType
is an assignable form ofsuperType
.UrlConfigurationManager
UrlConfigurationManager. createChild(String instanceName, String componentType)
protected <T> T
AbstractRegistry. createInstanceForInterface(Class<? extends T> implClass, Class<T> compIface, Class<?>[] paramTypes, Object[] paramValues)
Creates an new instance of the designated class having the designated component interface or super class.protected String
LocalServiceRegistry. getAndCheckRequiredService(SessionToken session, String usingService, String usedServiceTypeName)
Gets the name of the used service of the designated type and for the designated using service.protected <T> T
AbstractRegistry. getArbitrarilyNamedObject(String instName, org.apache.commons.configuration2.Configuration instConf, Class<T> componentType, ClassLoader classLoader, Class<?>[] parameterTypes, Object[] parameterValues, AbstractRegistry.InstantiationMode instantiationMode)
Gets an arbitrary object for the designated component instance of the requested component type.protected <T> T
LocalServiceRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName, Class<?>[] additionalParameterTypes, Object[] additionalParameterValues)
protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType)
Retrieves the default instance of the designated plugin type.protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName)
Retrieves the plugin with the designated name of the designated type if it is declared by the using instance or if it is declared and found as runtime plugin.protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName, Class<?>[] additionalParameterTypes, Object[] additionalParameterValues)
Retrieves the plugin with the designated name of the designated type if it is declared by the using instance or if it is declared and found as runtime plugin.protected <T> Map<String,T>
PluginRegistry. getConfiguredPlugins(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType)
Retrieves all plugin instances (pre-configured and dynamic) of the designated plugin type.protected AbstractRegistry.InstanceInformation
AbstractRegistry. getInstanceInformation(String instanceName)
Returns the information (component type, instantiation mode and implementation class) for the designated component instance.Class<?>
AbstractRegistry. getInterfaceForComponentType(String componentType)
Returns the class object of the corresponding interface / superclass, if the component type is declared.Class<?>
RegistryWrapper. getInterfaceForComponentType(String componentType)
protected <T extends ADEPT2Service>
TLocalServiceRegistry. getLocalServiceObject(SessionToken session, String serviceName, Class<T> requestedType)
Returns an instance of the designated service and of the requested type.protected <T extends ADEPT2Service>
TServiceRegistry. getLocalServiceObject(SessionToken session, String serviceName, Class<T> requestedType)
Returns an instance of the designated service if it is local, null otherwise.protected <T> T
AbstractRegistry. getObjectForInstanceName(String instanceName, Class<T> componentType)
Gets an object for the designated instance name of the requested component type and retrieves the instantiation mode from the corresponding configuration.protected <T> T
AbstractRegistry. getObjectForInstanceName(String instanceName, Class<T> componentType, Class<?>[] addParameterTypes, Object[] addParameterValues)
Gets an object for the designated instance name of the requested component type and retrieves the instantiation mode from the corresponding configuration.protected <T> T
AbstractRegistry. getObjectForInstanceName(String instanceName, Class<T> componentType, Class<?>[] addParameterTypes, Object[] addParameterValues, AbstractRegistry.InstantiationMode instantiationMode)
Gets an object for the designated instance name of the requested component type using the designated instantiation mode from the corresponding configuration.protected org.apache.commons.configuration2.Configuration
UrlConfigurationManager. getRtConfigDsFor(String instanceName, String simpleDsName)
Gets the runtime configuration based on a data base table from the designated data source.protected org.apache.commons.configuration2.Configuration
UrlConfigurationManager. getRuntimeConfigDataSource(String instanceName)
Gets the runtime configuration based on a data base table from a data source that is specified for the designated instance in the root configuration.protected org.apache.commons.configuration2.Configuration
UrlConfigurationManager. getRuntimeConfigFile(String instanceName)
Gets the runtime configuration based on a file (or URL) specified for the designated instance in the root configuration.protected org.apache.commons.configuration2.Configuration
UrlConfigurationManager. getRuntimeConfiguration(String instanceName)
Gets a runtime configuration for the designated instance name which is aConfiguration
-object that allows for storing the configuration values, for instance as file or in a database.protected ServiceInformation
LocalServiceRegistry. getServiceInformation(String instanceName)
Returns the information (component type, instantiation mode, implementation class, service URI, export service instances and whether to publish the service) for the designated service instance.ADEPT2Service
LocalServiceRegistry.ServiceNameResolution. getUnstartedLocalServiceObject(String serviceName)
protected String
InstanceToInstanceRegistry. getUsedComponentInstanceNameForInstance(String usingInstance, String usedComponentType)
Returns the hierarchical name of the instance of the designated type for usage by the designated instance (specified by its instance name).protected <T> T
InstanceToInstanceRegistry. getUsedObjectForInstance(String usingInstance, String usedComponentType, Class<T> requestedType)
Gets an object for use by the the designated component instance which conforms to the designated component type (usedComponentType
) and is of the requested type.String
LocalServiceRegistry.ServiceNameResolution. getUsedServiceNameFor(String usingServiceName, String usedServiceType)
protected void
AbstractRegistry. initialiseInstantiatedObject(Object instance, String compIface, Class<?>[] paramTypes, Object[] paramValues)
Initialises the designated instance having the designated component interface or super class.protected org.apache.commons.configuration2.Configuration
UrlConfigurationManager. initRootConfiguration(String rootConfFileName, boolean eager, ConfigurationPropertyProvider provider)
Loads the root configuration from the configuration directories, initialises the logging based on this configuration and the logger manager of this configuration manager and dumps the configuration if desired.protected void
PluginRegistry. prepareRuntimePlugin(String typeName, String instanceName)
Prepares the designated runtime plugin, that is, the meta configuration providing the implementation class and an optional classpath is loaded, the instance information is set appropriately, the classloader for the plugin instance is created and the normal configuration is loaded.protected abstract void
AbstractRegistry. readMetaConfiguration(org.apache.commons.configuration2.Configuration registryConfiguration, String componentType)
Reads the available meta-configuration for components loaded at runtime.protected void
AbstractRegistry. readMetaConfiguration(org.apache.commons.configuration2.Configuration registryConfiguration, String componentType, String simpleInstanceName)
Reads the meta-configuration (implementing class, instantiation mode,...)protected void
LocalServiceRegistry. readMetaConfiguration(org.apache.commons.configuration2.Configuration registryConfiguration, String serviceType, String simpleInstanceName)
Reads the meta information from the registry for the designated service instance, which is: the implementing class or the implementing object for a local service The instantiation mode of a service is alwaysAbstractRegistry.InstantiationMode.SINGLETON
If something else is set in the configuration (please note that this property may also - and in this case should - be omitted), a warning message is logged andSINGLETON
used instead.protected void
PluginRegistry. readMetaConfiguration(org.apache.commons.configuration2.Configuration registryConfiguration, String componentType)
protected void
ServiceRegistry. readMetaConfiguration(org.apache.commons.configuration2.Configuration registryConfiguration, String componentType, String simpleInstanceName)
Reads the meta information from the registry for the designated service instance, which is: the implementing class or the implementing object for a local service service instances for exporting for a local service publish service flag for an exported local service service URI for a private remote service The instantiation mode of a service is alwaysAbstractRegistry.InstantiationMode.SINGLETON
If something else is set in the configuration (please note that this property may also - and in this case should - be omitted), a warning message is logged andSINGLETON
used instead.protected void
AbstractRegistry. renewConfiguration(org.apache.commons.configuration2.Configuration conf)
Renews the configuration of this registry by creating a new configuration manager.protected void
InstanceToInstanceRegistry. renewConfiguration(org.apache.commons.configuration2.Configuration conf)
Renews the configuration of this registry by renewing via the superclass and reading of usage relations.protected void
LocalServiceRegistry. renewConfiguration(org.apache.commons.configuration2.Configuration conf)
protected void
PluginRegistry. renewConfiguration(org.apache.commons.configuration2.Configuration conf)
Renews the configuration of this registry by renewing via the superclass and reading of default instances as well as declared plugin types.protected abstract Pair<String,String>
ServiceRegistry. resolveInstanceName(org.apache.commons.configuration2.Configuration conf)
Gets the cluster and the instance name for this registry from the designated configuration.protected void
LocalServiceRegistry.ConfigurationValidator. validate(org.apache.commons.configuration2.Configuration configuration)
Checks that noJDBC_DATA_SOURCE
is exported.protected void
PluginRegistry.ConfigurationValidator. validate(org.apache.commons.configuration2.Configuration configuration)
Checks whether the designated configuration declares plugin types and if so, whether they are configured properly, that is all declared plugin instances have an implementation class or in case of runtime plugins, the plugin type provides a plugin classpath and a valid anonymous instance.protected void
ServiceRegistry.ConfigurationValidator. validate(org.apache.commons.configuration2.Configuration configuration)
Constructors in de.aristaflow.adept2.base.registry that throw ConfigurationException Constructor Description AbstractRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new registry by setting the parent registry, the configuration and the initial configuration manager.InstanceToInstanceRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new registry supporting instance to instance relations.LocalServiceRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new local service registry by calling the super constructor.LocalServiceRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry, SerialisablePair<String,String> release)
Constructs a new service registry by calling the super constructor.PluginRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new registry supporting plugins, that is components extending an existing component.UrlConfigurationManager(String rootConfFileName, org.apache.commons.configuration2.Configuration providedConfiguration, boolean eager, ConfigurationPropertyProvider provider, LoggerManager loggerManager)
Creates a newUrlConfigurationManager
using the configuration properties of the designated provider and either a root configuration loaded from the designated file name, or the designated provided configuration or a mixture of both respecting the order of the configurations and configuration directories from the provider. -
Uses of ConfigurationException in de.aristaflow.adept2.base.service
Methods in de.aristaflow.adept2.base.service that throw ConfigurationException Modifier and Type Method Description Class<?>
ServiceAccess. getInterfaceForComponentType(String componentType)
Returns the class object of the corresponding interface / superclass, if the component type is declared.void
ConfigurableService. setConfigurationValue(SessionToken session, String key, String value)
Sets the designated configuration value.Constructors in de.aristaflow.adept2.base.service that throw ConfigurationException Constructor Description AbstractAuthenticatedService(org.apache.commons.configuration2.Configuration conf, Registry registry, Class<?> cls)
Creates an ADEPT2 service with the designated registry, a logger for this and assuming that there are no other services required except the org model manager for non-early services.AbstractAuthenticatedService(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Class<?> cls)
Creates an ADEPT2 service with the designated registry, a logger for this and the designated required services.AbstractConfigurableAuthenticatedService(org.apache.commons.configuration2.Configuration configuration, Registry registry, Class<?> cls)
Creates a configurable service with the designated configuration, the designated registry, a logger for this and assuming that there are no other services required.AbstractConfigurableAuthenticatedService(org.apache.commons.configuration2.Configuration configuration, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Class<?> cls)
Creates a configurable service with the designated configuration, the designated registry, a logger for this and the designated required services.AbstractNonPrivilegedService(org.apache.commons.configuration2.Configuration conf, Registry registry, Class<?> cls)
Creates an ADEPT2 service with the designated registry, a logger for this and assuming that there are no other services required.AbstractNonPrivilegedService(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Class<?> cls)
Creates an ADEPT2 service with the designated registry, a logger for this and the designated required services. -
Uses of ConfigurationException in de.aristaflow.adept2.base.servletcontainer.demux
Constructors in de.aristaflow.adept2.base.servletcontainer.demux that throw ConfigurationException Constructor Description DeferredServletContext(javax.servlet.ServletContext parentContext)
Creates a new servlet context with the designated servlet context as parent. -
Uses of ConfigurationException in de.aristaflow.adept2.base.servletcontainer.dynamic
Methods in de.aristaflow.adept2.base.servletcontainer.dynamic that throw ConfigurationException Modifier and Type Method Description protected void
EmbeddedServletService.ConfigurationValidator. validate(org.apache.commons.configuration2.Configuration conf)
Constructors in de.aristaflow.adept2.base.servletcontainer.dynamic that throw ConfigurationException Constructor Description EmbeddedServletService(org.apache.commons.configuration2.Configuration conf, Registry registry)
Creates a new embedded servlet service using Servlet API 3.0 for deploying servlets.EmbeddedServletService(org.apache.commons.configuration2.Configuration conf, Registry registry, Class<?> cls)
Creates a new embedded servlet service using Servlet API 3.0 for deploying servlets. -
Uses of ConfigurationException in de.aristaflow.adept2.core.checks.processmodel
Constructors in de.aristaflow.adept2.core.checks.processmodel that throw ConfigurationException Constructor Description DefaultProcessCheckService(org.apache.commons.configuration2.Configuration configuration, Registry registry)
Default constructor. -
Uses of ConfigurationException in de.aristaflow.adept2.core.client
Methods in de.aristaflow.adept2.core.client that throw ConfigurationException Modifier and Type Method Description Class<?>
MultiplexingClientService. getInterfaceForComponentType(String componentType)
Returns the class object of the corresponding interface / superclass, if the component type is declared.Constructors in de.aristaflow.adept2.core.client that throw ConfigurationException Constructor Description MultiplexingClientService(org.apache.commons.configuration2.Configuration configuration, Registry registry)
Creates a MultiplexingClientService with the designated registry, a logger for this and the designated required services. -
Uses of ConfigurationException in de.aristaflow.adept2.core.eventmanager
Methods in de.aristaflow.adept2.core.eventmanager that throw ConfigurationException Modifier and Type Method Description EventSource<? extends Event>
EventManager. addEventSource(SessionToken session, String eventType, String sourceType, String sourceID, org.apache.commons.configuration2.Configuration configuration)
Adds an event source having the designated ID to the designated event type and event source. -
Uses of ConfigurationException in de.aristaflow.adept2.core.eventmanager.common
Methods in de.aristaflow.adept2.core.eventmanager.common that throw ConfigurationException Modifier and Type Method Description EventSource<?>
AbstractEventManager. addEventSource(SessionToken session, String eventType, String sourceType, String sourceID, org.apache.commons.configuration2.Configuration conf)
protected void
AbstractEventManager. addPreregistered(org.apache.commons.configuration2.Configuration conf)
Reads the event handler and sources from the configuration based on the supported event types, registers and starts them initially and adds them afterwards.protected void
AbstractEventManager. addPreregistered(org.apache.commons.configuration2.Configuration conf, Iterator<String> sourceTypes)
Reads the event handler and sources for the designated source types from the configuration, registers and starts them initially and adds them afterwards.Connection
DefaultEventManager. getConnection(String driver, String connectionURL, String userName, String password)
Retrieves a connection to a JDBC-database using the designated information.Connection
DefaultEventManager. getConnection(String driver, String connectionURL, String userName, String password, boolean readOnly)
Retrieves a connection to a JDBC-database using the designated information.protected void
AbstractSharedEventSource. parseConfiguration(org.apache.commons.configuration2.Configuration conf)
Parses the designated (initial) configuration.static String
ParamRefTools. replaceParams(String rawString, InputDataContext dataContext)
Replaces all parameter references in the designated string with the corresponding input parameter values from the data context.protected String
AbstractEventSource. replaceValueParams(String value, InputDataContext dataContext)
WrapsParamRefTools#replaceParams(String, InputDataContext)
by allowing fornull
and the empty string as value.void
AbstractEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
void
AbstractSharedEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
protected void
AbstractSharingActEventSource. setConfiguration(org.apache.commons.configuration2.Configuration newConf, boolean completed)
Adds the relevant values from the designated configuration in the own configuration of this sharing event source overriding existing values. and verifies the complete configuration if completed.void
AbstractSharingActEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
protected void
AbstractSharingActEventSource. verifyConfigurationValues(org.apache.commons.configuration2.Configuration configuration)
Verifies that all required configuration values have been set in the designated configuration.Constructors in de.aristaflow.adept2.core.eventmanager.common that throw ConfigurationException Constructor Description AbstractEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices)
Creates an event manager creating event sources and combining them with the appropriate event handlers.AbstractEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Map<String,Class<? extends Event>> supportedEvents)
Deprecated, for removal: This API element is subject to removal in a future version.AbstractSharingActEventSource(org.apache.commons.configuration2.Configuration conf, Registry registry, Class<T> eventClass, String eventType, String sharedSourceType)
Default constructor for a plugin of theDefaultEventManager
called by a service registry.DefaultEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry)
Creates a new service polling for DB, mail and file events and handling them appropriately.DefaultEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices)
Creates a new service polling for events of registered event types (e. g.DefaultEventManager(org.apache.commons.configuration2.Configuration conf, Registry registry, String[] startupRequiredServices, String[] runtimeRequiredServices, Map<String,Class<? extends Event>> supportedEvents)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ConfigurationException in de.aristaflow.adept2.core.eventmanager.dbevents
Methods in de.aristaflow.adept2.core.eventmanager.dbevents that throw ConfigurationException Modifier and Type Method Description protected void
DBActivityEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.protected void
DBEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.void
DBEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
protected void
DBEventSource. verifyConfigurationValues()
This method verifies whether the required configuration values and the data context have been set yet.Constructors in de.aristaflow.adept2.core.eventmanager.dbevents that throw ConfigurationException Constructor Description DBActivityEventSource(org.apache.commons.configuration2.Configuration conf, DefaultEventManager eventManager, Registry registry)
Default constructor for a plugin of theDefaultEventManager
called by a service registry.DBEventSource(org.apache.commons.configuration2.Configuration conf, DefaultEventManager eventManager, Registry registry)
Default constructor for a plugin of theDefaultEventManager
called by a service registry.ReadOnlyRSEventSource(org.apache.commons.configuration2.Configuration conf, DefaultEventManager eventManager, Registry registry)
Default constructor for a plugin of theDefaultEventManager
called by a service registry. -
Uses of ConfigurationException in de.aristaflow.adept2.core.eventmanager.fileevents
Methods in de.aristaflow.adept2.core.eventmanager.fileevents that throw ConfigurationException Modifier and Type Method Description void
FileEventActivitySource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.protected void
FileEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.void
FileEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
protected void
FileEventSource. verifyConfigurationValues()
This method verifies the configuration values that have been set yet.Constructors in de.aristaflow.adept2.core.eventmanager.fileevents that throw ConfigurationException Constructor Description FileEventActivitySource(org.apache.commons.configuration2.Configuration conf, EventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.FileEventSource(org.apache.commons.configuration2.Configuration conf, EventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.FileMarkHandler(org.apache.commons.configuration2.Configuration conf, EventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.InstanceStartEventHandler(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Creates a new handler for file events that starts instances and stores data from the file in the instance input parameters.MarkInstanceStartEventHandler(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Creates a new handler for file events that starts instances and stores data from the file in the instance input parameters. -
Uses of ConfigurationException in de.aristaflow.adept2.core.eventmanager.mailevents
Methods in de.aristaflow.adept2.core.eventmanager.mailevents that throw ConfigurationException Modifier and Type Method Description void
FilteredMailEventActivitySource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.protected void
FilteredMailEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.void
MailEventActivitySource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.protected void
MailEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, boolean completed)
Sets the internal fields according to the values of the designated configuration.void
MailEventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
protected void
MailEventSource. verifyConfigurationValues()
This method verifies the configuration values that have been set yet.Constructors in de.aristaflow.adept2.core.eventmanager.mailevents that throw ConfigurationException Constructor Description FilteredMailEventActivitySource(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.FilteredMailEventSource(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.InstanceStartEventHandler(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Creates a new handler for mail events that starts instances and stores data from the mail in the instance input parameters.MailEventActivityHandler(org.apache.commons.configuration2.Configuration conf, ActivityEventManager eventManager, Registry registry)
Creates a new handler for mail events that starts or resumes activities and stores data from the mail in their output data context.MailEventActivitySource(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.MailEventSource(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry)
Default constructor for a plugin of anEventManager
called by a service registry.MailEventSource(org.apache.commons.configuration2.Configuration conf, AbstractEventManager eventManager, Registry registry, Class<?> confDesc)
Constructor for subclasses allowing to set a separate class for the configuration description. -
Uses of ConfigurationException in de.aristaflow.adept2.core.registry
Methods in de.aristaflow.adept2.core.registry that throw ConfigurationException Modifier and Type Method Description protected UrlConfigurationManager
AristaFlowPlatform. createConfigurationManager(String rootConfFileName, org.apache.commons.configuration2.Configuration providedConfiguration, boolean eager, ConfigurationPropertyProvider provider, LoggerManager loggerManager)
Gets a configuration manager having the designated file (file name without path) as root configuration and/or the designated configuration.protected Pair<String,String>
BootstrapRegistry. resolveInstanceName(org.apache.commons.configuration2.Configuration conf)
Constructors in de.aristaflow.adept2.core.registry that throw ConfigurationException Constructor Description AristaFlowPlatform(boolean eager)
Partially bootstraps AristaFlow using system properties which also provide the configuration directories (or the default.
AristaFlowPlatform(boolean eager, ConfigurationPropertyProvider provider)
Partially bootstraps AristaFlow using the designated properties which also provide the configuration directories or URLs to load the root configuration from.AristaFlowPlatform(boolean eager, org.apache.commons.configuration2.Configuration conf)
Partially bootstraps AristaFlow using system properties which also provide the configuration directories (or the default.
AristaFlowPlatform(boolean eager, org.apache.commons.configuration2.Configuration conf, ConfigurationPropertyProvider provider)
Partially bootstraps AristaFlow using the designated properties which also provide the configuration directories or URLs to load the root configuration from additionally to the designated configuration.AristaFlowPlatform(String rootConfFileName, org.apache.commons.configuration2.Configuration providedConfiguration, boolean eager, boolean singleton, ConfigurationPropertyProvider provider)
Initialises the global properties and logging and creates a configuration manager. -
Uses of ConfigurationException in de.aristaflow.adept2.core.registry.twophase
Constructors in de.aristaflow.adept2.core.registry.twophase that throw ConfigurationException Constructor Description TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, boolean eager)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, boolean eager, ConfigurationPropertyProvider provider)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, boolean eager, org.apache.commons.configuration2.Configuration conf)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, boolean eager, org.apache.commons.configuration2.Configuration conf, ConfigurationPropertyProvider provider)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, String rootConfFileName, org.apache.commons.configuration2.Configuration providedConfiguration, boolean eager, ConfigurationPropertyProvider provider)
Creates a newTwoPhasePlatform
. -
Uses of ConfigurationException in de.aristaflow.adept2.model
Methods in de.aristaflow.adept2.model that throw ConfigurationException Modifier and Type Method Description protected void
ModelFactoryRegistry. readDeclaredModelViewerClasses(org.apache.commons.configuration2.Configuration conf)
Reads all declared model viewer classes from the configuration and loads the classes.protected void
ModelFactoryRegistry. renewConfiguration(org.apache.commons.configuration2.Configuration conf)
Renews the configuration of this registry by renewing via the superclass and reading the declared model viewer classes for plugin data.Constructors in de.aristaflow.adept2.model that throw ConfigurationException Constructor Description ModelFactoryRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new model factory registry supporting factory for the creation of model implementations. -
Uses of ConfigurationException in de.aristaflow.adept2.model.events.sources
Methods in de.aristaflow.adept2.model.events.sources that throw ConfigurationException Modifier and Type Method Description void
EventSource. setConfiguration(org.apache.commons.configuration2.Configuration conf, String id)
Sets the (additional) configuration of this event source and its ID. -
Uses of ConfigurationException in de.aristaflow.adept2.ui.htmlgui.httpservice
Constructors in de.aristaflow.adept2.ui.htmlgui.httpservice that throw ConfigurationException Constructor Description EmbdServContHTTPService(org.apache.commons.configuration2.Configuration configuration, Registry registry)
Registers the HTTP-service-servlet at an embedded servlet container. -
Uses of ConfigurationException in de.aristaflow.ilm.base.configuration
Constructors in de.aristaflow.ilm.base.configuration with parameters of type ConfigurationException Constructor Description ConfigurationException(ConfigurationException ce)
-