Package org.frankframework.lifecycle
Class ShowLogDirectory
java.lang.Object
org.frankframework.lifecycle.ShowLogDirectory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@IbisInitializer
public class ShowLogDirectory
extends Object
implements org.springframework.context.ApplicationContextAware
Logging should work even when the application failed to start which is why it's not wired through the
MessageDispatcher
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.MessageHandler
org.springframework.messaging.Message<String>
getLogDirectory
(org.springframework.messaging.Message<?> message) The actual action that is performed when calling the bus with the LOGGING topic.void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setNullChannel
(org.springframework.messaging.MessageChannel nullChannel) org.springframework.integration.dsl.IntegrationFlow
This method is picked up by the IbisInitializer annotation and autowired via the SpringEnvironmentContext.
-
Constructor Details
-
ShowLogDirectory
public ShowLogDirectory()
-
-
Method Details
-
wireLogging
@Bean public org.springframework.integration.dsl.IntegrationFlow wireLogging()This method is picked up by the IbisInitializer annotation and autowired via the SpringEnvironmentContext. -
getHandler
public org.springframework.messaging.MessageHandler getHandler() -
getLogDirectory
@RolesAllowed({"IbisObserver","IbisDataAdmin","IbisAdmin","IbisTester"}) public org.springframework.messaging.Message<String> getLogDirectory(org.springframework.messaging.Message<?> message) The actual action that is performed when calling the bus with the LOGGING topic. -
setNullChannel
public void setNullChannel(org.springframework.messaging.MessageChannel nullChannel) -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-