Package de.aristaflow.adept2.base.registry
package de.aristaflow.adept2.base.registry
-
ClassDescriptionThis class manages interfaces (or super-classes) of component types and instances of components including singletons.Default implementation for resolving service name and component types.
InstanceInformationencapsulates the properties from the configuration relevant for a component instance.The instantiation modes an instance may have.Configuration-related global constants for general use in configuration files.This interface marks anADEPT2Serviceto require a configuration manager in its constructor.This subclass refers to theCSVFormatterand decouplesLoggerManagerfrom AristaFlow-specific classes inCSVFormatter.The invocation target for global URIs resolving global URIs to local URIs and providing the corresponding invocation target.This class extends the plugin registry to support the retrieval of used component instances without needing to know the used instance name at all.The local service registry extends theInstanceToInstanceRegistryto support service components.Checks the configuration of theServiceRegistry.ServiceExportInformationencapsulates the data which is needed for exporting a service, which is: the services for exporting a service (ADEPT2ServiceExport), the URIs under which the service is exported and which correspond based on the position in the array to the export service, whether the service is to be published at the global registry.This interface is used for starting services which requires a start routine (Callable.call()) and the service name (LocalServiceRegistry.ServiceStarter.getServiceName()) for logging purpose.AnURLClassLoaderthat tries to retrieve resources within the own classpaths first before asking the parent classloader.While theAbstractRegistrydoes not allow to be directly accessed, this class supports the retrieval of specific component instances as well as default component instances.Checks that all declared plugin instances are configured properly, that is they have an implementation class and runtime plugins have a plugin classpath.This formats log entries similar toSimpleFormatterexcept that it uses a pseudo ISO format for the timestamp instead of a datetime format using the default locale of the JVM.A registry wrapper provides access to specific registry methods to a normal component/service.Service specific extension to the default instance information of theAbstractRegistry.A service registry extends theLocalServiceRegistryto support export and publishing of local services as well as accessing remote services.Checks the configuration of theServiceRegistry.This configuration manager extends a normal configuration manager by the means for runtime configurations.