|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.audit.service.Profile
public abstract 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:
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.
Analyzer
Nested Class Summary | |
---|---|
static class |
Profile.Instances |
static class |
Profile.Setter |
Constructor Summary | |
---|---|
Profile() |
Method Summary | |
---|---|
abstract void |
addChangeListener(javax.swing.event.ChangeListener listener) |
abstract Profile.Instances |
createInstances() Creates a set of analyzer and bean instances from this profile. |
abstract ProfileTransaction |
createTransaction() Creates a transaction for this profile. |
abstract java.util.Collection<java.lang.Class<? extends Analyzer>> |
getAnalyzerClasses() Gets the analyzer classes from this profile. |
abstract java.lang.String |
getKey() Gets the creation key of this profile, or null if this is a user-created profile. |
abstract java.lang.String |
getName() Gets the name of this profile. |
abstract java.net.URL |
getURL() Gets the URL where the contents of this profile are saved, or null if new. |
abstract boolean |
isDefault() Gets whether this profile is a default profile. |
abstract void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
abstract void |
save(java.net.URL url) Saves this profile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Profile()
Method Detail |
---|
public abstract void addChangeListener(javax.swing.event.ChangeListener listener)
public abstract void removeChangeListener(javax.swing.event.ChangeListener listener)
public abstract java.lang.String getName()
public abstract boolean isDefault()
public abstract java.lang.String getKey()
public abstract java.net.URL getURL()
public abstract java.util.Collection<java.lang.Class<? extends Analyzer>> getAnalyzerClasses()
public abstract Profile.Instances createInstances()
public abstract ProfileTransaction createTransaction()
public abstract void save(java.net.URL url) throws java.io.IOException
java.lang.IllegalStateException
- if the URL is null.java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |