|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
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:
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.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |