Interface AuditEventHandlerFactory
-
- All Known Implementing Classes:
DependencyProviderAuditEventHandlerFactory
public interface AuditEventHandlerFactory
Factory interface for creating instances ofAuditEventHandler
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AuditEventHandler>
Tcreate(String name, Class<T> clazz, EventHandlerConfiguration configuration, EventTopicsMetaData eventTopicsMetaData)
Create a new AuditEventHandler instance.
-
-
-
Method Detail
-
create
<T extends AuditEventHandler> T create(String name, Class<T> clazz, EventHandlerConfiguration configuration, EventTopicsMetaData eventTopicsMetaData) throws AuditException
Create a new AuditEventHandler instance.- Type Parameters:
T
- The type of the handler.- Parameters:
name
- The name of the AuditEventHandler object.clazz
- The type of AuditEventHandler to create.configuration
- Configuration parameters that can be adjusted by system administrators.eventTopicsMetaData
- Provides meta-data describing the audit event topics this AuditEventHandler may have to handle.- Returns:
- The handler instance.
- Throws:
AuditException
- If the required handler could not be constructed for any reason.
-
-