public class AuditEventDispatchAgent extends ClusteredServer
This agent continuously polls for new raw audit events, and copies them to all registered audit histories (via registered AuditSpecification instances).
IfsServer.ServerRequestLEVEL_HIGH, LEVEL_LOW, LEVEL_MEDIUM, LEVEL_OFFSERVERSTATUS_DISPOSED, SERVERSTATUS_RUNNING, SERVERSTATUS_STARTING, SERVERSTATUS_STOPPED, SERVERSTATUS_STOPPING, SERVERSTATUS_SUSPENDED, SERVERSTATUS_UNKNOWN| Constructor and Description |
|---|
AuditEventDispatchAgent()
Constructs a AuditEventDispatchAgent.
|
| Modifier and Type | Method and Description |
|---|---|
IfsLogger |
getLogger()
Gets the appropriate logger for this server.
|
protected void |
handlePropertyChangeRequest(AttributeValue av)
Handles updates to dynamic properties.
|
protected void |
handleResumeRequest()
handle the resume request.
|
protected void |
handleStopRequest()
Handle the stop request.
|
protected void |
handleSuspendRequest()
handle the suspend request.
|
protected void |
handleTimerExpired()
Handles a timer expiration.
|
void |
initialize()
Perform one time initialization tasks upon loading.
|
boolean |
isAgent()
Gets whether this Server is an agent.
|
boolean |
isPropertyReadonly(String name)
Returns true if the property name specified is readonly.
|
static void |
main(String[] args)
This is used to run the AuditEventDispatchAgent in the standalone mode.
|
void |
postRun()
Performs post-run tasks for this agent.
|
void |
run()
Runs this agent.
|
boolean |
supportsSuspendResume()
Gets whether suspend/resume is supported.
|
cancelRegistration, checkRegistration, deriveAgentIdentifier, deriveRunningServerIdentifier, getAgentIdentifier, getAgentIdentifierPrefix, getRegistrationPeriod, getRunningNodeIdentifier, getRunningNodeName, getRunningServerIdentifier, initializeRegistration, isRegistered, isServerRunning, isTokenNonCompetingcheckSession, connectSession, constructSession, convertTimerInterval, convertTimerInterval, convertTimerInterval, dispose, getLastTimerActivation, getNextTimerActivation, getService, getTimerActivationPeriod, getTimerClassName, getTimerConfiguration, handlePriorityChangeRequest, handlePropertyChangeRequest, handleRequest, handleRequests, handleServerStateControllerRequest, isNonCompeting, isServiceAvailable, isTimerActive, postCheckServerStateRequest, postRequest, preRun, processEvent, processEvents, queueEvent, resetTimer, restart, resume, serviceAvailabilityCheckNeeded, setPriority, setProperty, setProperty, start, startTimer, stop, stopRequested, stopTimer, suspend, timerExpired, waitForServiceAvailability, waitServeracquireSession, constructLibrarySessionPool, createServerState, deregister, disconnectSession, getConfigurationOverridesTable, getConfigurationTable, getCredential, getDesiredStatus, getIfsHome, getInitialConfigurationTable, getLoggerForLegacyLogging, getName, getNode, getNodeName, getOracleHome, getParameterTable, getPriority, getProperties, getProperty, getServerConfigurationName, getServerState, getServerStateValue, getServerType, getServiceName, getSession, getStateTable, getStatus, getSystemUserCredential, handleServerConfigurationOverrideRequest, handleServerStateEvent, initialize, initialize, isDisposed, isInitialized, isLogged, log, log, log, releaseSession, releaseSession, setDesiredStatus, setDesiredStatus, setSessionTimeoutPrevented, setStateProperty, setStatus, startStandalone, startStandalone, supportsPriority, toStatusLabel, toStatusLabel, toStatusLabel, verifyNotDisposed, verifyNotDisposedpublic AuditEventDispatchAgent()
throws IfsException
IfsException - if the operation failspublic static void main(String[] args) throws Exception
args - command line argsException - if the operation failspublic IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
public void initialize()
throws Exception
initialize in class IfsServerException - if the operation failspublic boolean isPropertyReadonly(String name) throws IfsException
isPropertyReadonly in interface ServerInterfaceisPropertyReadonly in class IfsServername - name of the propertyIfsException - if the operation failsprotected void handlePropertyChangeRequest(AttributeValue av) throws Exception
handlePropertyChangeRequest in class IfsServerav - the property that was changedException - if the operation failspublic boolean isAgent()
throws IfsException
This method is called by administration tools to group together servers that are agents in administration user interfaces.
isAgent in interface ServerInterfaceisAgent in class ServerIfsException - no exception is thrownpublic void postRun()
protected void handleStopRequest()
throws Exception
Overridden here to include logging.
handleStopRequest in class IfsServerException - if operation failspublic boolean supportsSuspendResume()
supportsSuspendResume in interface ServerInterfacesupportsSuspendResume in class Serverprotected void handleSuspendRequest()
throws Exception
handleSuspendRequest in class IfsServerException - if the operation failsprotected void handleResumeRequest()
throws Exception
handleResumeRequest in class IfsServerException - if the operation failsprotected void handleTimerExpired()
throws Exception
handleTimerExpired in class IfsServerException - if the operation failsCopyright © 2025. All rights reserved.