I'm using the services.xml at the end of this post
It contains the FrameworkBootstrap (Order 2) and the LoggingPresetProvider (order 10)
The FrameworkBootstrap creates the Consultingwerk.Framework.IConfigurationProvider required by the LoggingPresetProvider.
During startup I get following errors
---------------------------
Error while loading service: Consultingwerk.Framework.LoggingPresetProvider
---------------------------
Error (Press HELP to view stack trace)
The requested service type for "Consultingwerk.Framework.IConfigurationProvider" is not registered.
---------------------------
I have added a message to the FrameworkBootstrap once it has instantiated the ConfigurationProvider . This message appears after the error.
How should I use the FrameworkBootstrap ? Or am I using the wrong bootstrap ?
<?xml version="1.0"?>
<ttServiceLoader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ttServiceLoaderRow>
<Order>1</Order>
<ServiceTypeName>Consultingwerk.OERA.IServiceManager</ServiceTypeName>
<ServiceClassName>be.cce.SmartTools.OERA.CceServiceManagerImpl</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>2</Order>
<ServiceTypeName>Consultingwerk.Framework.IFrameworkBootstrap</ServiceTypeName>
<ServiceClassName>Consultingwerk.Framework.FrameworkBootstrap</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>3</Order>
<ServiceTypeName>Consultingwerk.Framework.ISettingsServiceLong</ServiceTypeName>
<ServiceClassName>be.cce.ccetools.services.SettingsServiceLong</ServiceClassName>
<Disabled>true</Disabled>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>4</Order>
<ServiceTypeName>Consultingwerk.Framework.ISettingsService</ServiceTypeName>
<ServiceClassName>be.cce.ccetools.services.SettingsService</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>5</Order>
<ServiceTypeName>Consultingwerk.Windows.Framework.IUserInterfaceLanguageManager</ServiceTypeName>
<ServiceClassName>Consultingwerk.Windows.Framework.UserInterfaceLanguageManager</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>6</Order>
<ServiceTypeName>Consultingwerk.SmartFramework.ILanguageProvider</ServiceTypeName>
<ServiceClassName>be.cce.SmartTools.SmartFramework.LanguageProvider</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>7</Order>
<ServiceTypeName>Consultingwerk.SmartFramework.ITranslationProvider</ServiceTypeName>
<ServiceClassName>be.cce.SmartTools.SmartFramework.Localization.CceTranslationProvider</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>8</Order>
<ServiceTypeName>Consultingwerk.Framework.IAppServerServiceManager</ServiceTypeName>
<ServiceClassName>Consultingwerk.Framework.AppServerServiceManager</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>9</Order>
<ServiceTypeName>Consultingwerk.OERA.Context.IContextDatasetFactory</ServiceTypeName>
<ServiceClassName>Consultingwerk.OERA.Context.ContextDatasetFactory</ServiceClassName>
</ttServiceLoaderRow>
<ttServiceLoaderRow>
<Order>10</Order>
<ServiceTypeName>Consultingwerk.Framework.ILoggingPresetProvider</ServiceTypeName>
<ServiceClassName>Consultingwerk.Framework.LoggingPresetProvider</ServiceClassName>
</ttServiceLoaderRow>
</ttServiceLoader>