例: 基本汎用エミッター・インターフェース

基本汎用エミッター・インターフェースは、監査イベントを発行する方法を定義します。 このインターフェースを拡張し、特定の監査イベントのグループ (セキュリティー・イベント・グループ、 トランザクション・イベント・グループ、またはその他のカスタム・グループなど) を処理するために、他のインターフェースを使用することができます。 このインターフェースを使用して、エミッターのカスタム実装を作成します。

基本汎用エミッター・インターフェース

/** 
* This is the interface for the event emitter. Event sources use this interface 
* to send events to an event service. 
*  
*/ 
public interface BaseGenericEmitter { 
/** 
* Sends an event to the configured GenericEmitter implementation. 
* 
* @param event The event to be sent to the event service. 
* This value cannot be null. 
* @return The global instance ID of the event that was built. 
* @exception GenericEmitterException If an error occurs during emitter processing. 
* @exception IllegalArgumentException If the event parameter is null. 
*/ 
public String sendEvent(GenericEvent event) throws 
					GenericEventException; 
/** * Sends an array of events to the configured GenericEmitter implementation. 
* @param events The event array to be sent to the event service. 
* This value cannot be null. 
* @return The global instance IDs of the events that were built. 
* @exception GenericEmitterException If an error occurs during emitter processing. 
* @exception IllegalArgumentException If the events parameter is null. 
*/ 
public String[] sendEvents(GenericEvent events[]) throws 
					GenericEventException; 
/** 
* Causes the emitter to release all resources that are owned by this 
* object and its dependents. 
* Subsequent calls to this method have no effect. 
* 
* @throws GenericEmitterException If the emitter does release the 
* held resources. 
* resources. 
* @throws GenericEventException If any other error occurs when releasing resources. 
*/ 
public void close() throws 
					GenericEventException; 
}

トピックのタイプを示すアイコン 参照トピック



タイム・スタンプ・アイコン 最終更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rsec_sa_emitter_interface
ファイル名:rsec_sa_emitter_interface.html