Class JmsAuditEventHandlerFactory
- java.lang.Object
-
- org.forgerock.openam.audit.events.handlers.JmsAuditEventHandlerFactory
-
- All Implemented Interfaces:
AuditEventHandlerFactory
public final class JmsAuditEventHandlerFactory extends Object implements AuditEventHandlerFactory
This factory is responsible for creating an instance of theJmsAuditEventHandler.- Since:
- 13.5.0
-
-
Constructor Summary
Constructors Constructor Description JmsAuditEventHandlerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.audit.events.handlers.AuditEventHandlercreate(AuditEventHandlerConfiguration configuration)Create an instance ofAuditEventHandler.
-
-
-
Method Detail
-
create
public org.forgerock.audit.events.handlers.AuditEventHandler create(AuditEventHandlerConfiguration configuration) throws org.forgerock.audit.AuditException
Description copied from interface:AuditEventHandlerFactoryCreate an instance ofAuditEventHandler. This method will be called every time configuration for audit logging in OpenAM has changed. The returned handler will be added to the appropriateAuditService, which will in turn callAuditEventHandler.startup(). If this method returnsnullthen nothing will be added to theAuditService.- Specified by:
createin interfaceAuditEventHandlerFactory- Parameters:
configuration- The configuration properties to use when creating the handler.- Returns:
- An instance of
AuditEventHandleror null if this handler is disabled. - Throws:
org.forgerock.audit.AuditException- If an error occurred during creation of the handler.
-
-