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.ServerRequest
LEVEL_HIGH, LEVEL_LOW, LEVEL_MEDIUM, LEVEL_OFF
SERVERSTATUS_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, isTokenNonCompeting
checkSession, 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, waitServer
acquireSession, 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, verifyNotDisposed
public 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 IfsServer
Exception
- if the operation failspublic boolean isPropertyReadonly(String name) throws IfsException
isPropertyReadonly
in interface ServerInterface
isPropertyReadonly
in class IfsServer
name
- name of the propertyIfsException
- if the operation failsprotected void handlePropertyChangeRequest(AttributeValue av) throws Exception
handlePropertyChangeRequest
in class IfsServer
av
- 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 ServerInterface
isAgent
in class Server
IfsException
- no exception is thrownpublic void postRun()
protected void handleStopRequest() throws Exception
Overridden here to include logging.
handleStopRequest
in class IfsServer
Exception
- if operation failspublic boolean supportsSuspendResume()
supportsSuspendResume
in interface ServerInterface
supportsSuspendResume
in class Server
protected void handleSuspendRequest() throws Exception
handleSuspendRequest
in class IfsServer
Exception
- if the operation failsprotected void handleResumeRequest() throws Exception
handleResumeRequest
in class IfsServer
Exception
- if the operation failsprotected void handleTimerExpired() throws Exception
handleTimerExpired
in class IfsServer
Exception
- if the operation failsCopyright © 2023. All rights reserved.