oracle.jdeveloper.audit.service
Class Profile

A set of analyzers with category, rule, and metric bean properties configured
to specific values. A profile is essentially an analyzer factory which
instantiates exactly one analyzer for each analyzer class registered with
Audit and configures the properties of its beans.

Profiles are typically created with the URL of a profile file by the
profile repository. The profile name and the bean property values are lazily
loaded from the profile file. An auditor causes the profile to instantiate
the analyzers and configure the bean properties at the start of an audit, and
to release the analyzer and bean instances to the garbage collector at the
end of an audit. If rerun, the auditor will cause the same profile to
instantiate and configure new instances.
A profile can be created in one of three ways:

With a URL of a profile file. The profile name will be obtained from the
file and the analyzer classes will be all those registered with Audit. The
bean property configuration will be loaded and applied when the
analyzer instances are created. The instances will be created on demand.

With an existing profile and a new name and URL. The bean property
configuration will be copied from the existing profile; if the existing
profile was modified, the bean property configuration will revert to its
saved state (effectively, the instances of the existing profile are given to
the new profile).

With one or more analyzer instances: The set of analyzer classes and
instances will be those provided to the constructor. The bean property
configuration will be deduced from the instances on demand.

Creation with a URL is used by the profile repository to create the
profiles used by the profile dialog, and can also be used by an Audit
extension to create a default profile from a profile file installed with the
extension. Creation with an existing profile is used by the profile dialog
Save As action. Creation with analyzer instances is used by clients that
invoke Audit programmatically with specific analyzers and are only interested
in a limited set of analyzers.