| | |
| | | /** The singleton instance of this class for configuration purposes. */ |
| | | private static final HTTPAccessLogger instance = new HTTPAccessLogger(); |
| | | |
| | | /** |
| | | * The constructor for this class. |
| | | */ |
| | | /** The constructor for this class. */ |
| | | private HTTPAccessLogger() |
| | | { |
| | | super((Class) HTTPAccessLogPublisher.class, |
| | | ERR_CONFIG_LOGGER_INVALID_HTTP_ACCESS_LOGGER_CLASS); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected ClassPropertyDefinition getJavaClassPropertyDefinition() |
| | | { |
| | |
| | | .getJavaClassPropertyDefinition(); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected Collection<HTTPAccessLogPublisher<HTTPAccessLogPublisherCfg>> getLogPublishers() |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public final synchronized void addLogPublisher( |
| | | HTTPAccessLogPublisher<HTTPAccessLogPublisherCfg> publisher) |
| | |
| | | loggerStorage.addLogPublisher(publisher); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public final synchronized boolean removeLogPublisher( |
| | | HTTPAccessLogPublisher<HTTPAccessLogPublisherCfg> publisher) |