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
Constructors -
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.org.springframework.integration.dsl.IntegrationFlow
This method is picked up by the IbisInitializer annotation and autowired via the SpringEnvironmentContext.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
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.
-