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