예: 기본 일반 이미터 인터페이스

기본 일반 이미터 인터페이스는 감사 이벤트가 생성되는 방법을 정의합니다. 이 인터페이스를 확장하고 특정 감사 이벤트 그룹화(예: 보안 이벤트, 트랜잭션 이벤트 또는 일부 다른 사용자 정의 그룹화)를 처리하기 위한 기타 인터페이스가 존재할 수 있습니다. 이 인터페이스를 사용하여 이미터의 사용자 정의 구현을 작성하십시오.

기본 일반 이미터 인터페이스

/** 
* 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