public class ProActiveBasedForwardingProvider extends Object implements LogForwardingProvider
ProActiveAppender
Modifier and Type | Class and Description |
---|---|
static class |
ProActiveBasedForwardingProvider.LogCollector |
static class |
ProActiveBasedForwardingProvider.LogCollectorDeployer |
static class |
ProActiveBasedForwardingProvider.ProActiveAppenderProvider |
Modifier and Type | Field and Description |
---|---|
static String |
COLLECTOR_BIND_NAME |
Constructor and Description |
---|
ProActiveBasedForwardingProvider() |
Modifier and Type | Method and Description |
---|---|
AppenderProvider |
createAppenderProvider(URI serverURI)
Create an appender provider (i.e.
|
URI |
createServer(LoggingEventProcessor eventProcessor)
Create locally a server that is able to receive logging events from the appender created by createAppenderProvider.
|
void |
terminateServer()
Terminate the server created by createServer().
|
public static final String COLLECTOR_BIND_NAME
public AppenderProvider createAppenderProvider(URI serverURI) throws LogForwardingException
LogForwardingProvider
createAppenderProvider
in interface LogForwardingProvider
serverURI
- the URI of the server that receives logging events appended in the contained appender.LogForwardingException
- if the provider cannot be created.public URI createServer(LoggingEventProcessor eventProcessor) throws LogForwardingException
LogForwardingProvider
createServer
in interface LogForwardingProvider
LogForwardingException
- if the server cannot be created.public void terminateServer() throws LogForwardingException
LogForwardingProvider
terminateServer
in interface LogForwardingProvider
LogForwardingException
- if the server cannot be terminated.