|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.audit.AuditManager
oracle.jdevimpl.audit.core.DefaultAuditManager
public class DefaultAuditManager
The concrete implementation of the Audit manager.
| Constructor Summary | |
|---|---|
DefaultAuditManager()
|
|
| Method Summary | |
|---|---|
Auditor |
createAuditor()
Creates an Auditor which uses the default model type factory. |
Auditor |
createAuditor(ModelTypeFactory factory)
Creates an Auditor. |
AuditModel |
createModel()
Creates an AuditModel. |
ModelTypeFactory |
createModelTypeFactory(ModelType... modelTypes)
Creates a ModelTypeFactory with specific model types and the
standard container types (root, workspace, project, and directory). |
Profile |
createProfile(java.lang.String name,
java.lang.Class<? extends Analyzer>... analyzers)
Creates a new Profile with specific analyzers and with all
rules and metrics enabled. |
Profile |
createProfile(java.lang.String key,
java.lang.String name,
java.net.URL url)
Creates a new predefined Profile with all registered analyzers
configured from a profile file. |
Transformer |
createTransformer()
Creates a Transformer. |
java.util.Collection<java.lang.Class<? extends Analyzer>> |
getAnalyzers()
Gets the analyzer classes registered with this Audit manager. |
java.util.Map<java.lang.Class<?>,BeanCustomizer> |
getBeanCustomizers()
Gets the bean customizers registered with this Audit manager. |
java.util.Map<java.lang.String,ExtensionBean> |
getBeans()
category, rule, metric: default value must be supplied for all required properties all values must correspond to a property values can reference own properties (check circularity) transform: no value need be supplied for required properties all values must correspond to a property values can reference own properties transform binding: value must be supplied for all required transform properties all values must correspond to a transform property values can reference own properties, rule properties, and rule parameters Rule Knows properties. |
Converter |
getConverter(java.lang.Class<?> type)
Gets the Converter defined for a type. |
ModelTypeFactory |
getDefaultModelTypeFactory()
Gets the default ModelTypeFactory which uses all model types
registered with Audit. |
java.util.Map<java.lang.Class<?>,java.beans.PersistenceDelegate> |
getPersistenceDelegates()
Gets the persistence delegates registered with this Audit manager. |
AuditPreferences |
getPreferences()
Gets the Audit preferences. |
static java.lang.Class<?> |
getPrimitiveType(java.lang.Class type)
Gets the primitive type corresponding to a class, or null if none. |
java.util.Collection<Profile> |
getProfiles()
Gets the predefined profiles registered with this Audit manager. |
java.util.Collection<java.net.URL> |
getProfileStyleSheets()
Gets the profile style sheet URLs registered with this Audit manager. |
java.util.Collection<java.net.URL> |
getStyleSheets()
Gets the style sheet URLs registered with this Audit manager. |
boolean |
isRegistered(java.lang.Class<?> type)
Gets whether an analyer or model type has been registered with Audit. |
void |
register(AuditProvider provider)
Registers an Audit provider with this Audit manager. |
AuditModel |
runShowLogPage(Auditor auditor,
java.lang.String label,
java.lang.Thread.UncaughtExceptionHandler handler)
Creates and shows an Audit log page for an Auditor, and runs the
audit. |
void |
showLogPage(Auditor auditor,
AuditModel model,
java.lang.String label)
Creates and shows an Audit log page for an Auditor and model. |
| Methods inherited from class oracle.jdeveloper.audit.AuditManager |
|---|
getAuditManager, setAuditManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAuditManager()
| Method Detail |
|---|
public void register(AuditProvider provider)
AuditManager
register in class AuditManagerpublic AuditPreferences getPreferences()
AuditManager
getPreferences in class AuditManagerpublic ModelTypeFactory createModelTypeFactory(ModelType... modelTypes)
AuditManagerModelTypeFactory with specific model types and the
standard container types (root, workspace, project, and directory).
createModelTypeFactory in class AuditManagerpublic ModelTypeFactory getDefaultModelTypeFactory()
AuditManagerModelTypeFactory which uses all model types
registered with Audit.
getDefaultModelTypeFactory in class AuditManagerpublic Auditor createAuditor()
AuditManagerAuditor which uses the default model type factory.
createAuditor in class AuditManagerpublic Auditor createAuditor(ModelTypeFactory factory)
AuditManagerAuditor.
createAuditor in class AuditManagerfactory - The factory for the models to audit.public AuditModel createModel()
AuditManagerAuditModel.
createModel in class AuditManager
public Profile createProfile(java.lang.String key,
java.lang.String name,
java.net.URL url)
AuditManagerProfile with all registered analyzers
configured from a profile file.
createProfile in class AuditManagerkey - The profile id of the profile.name - The name of the profile.url - The url of a profile file.
public Profile createProfile(java.lang.String name,
java.lang.Class<? extends Analyzer>... analyzers)
AuditManagerProfile with specific analyzers and with all
rules and metrics enabled.
createProfile in class AuditManagername - The name of this profile.analyzers - The analyzer classes for this profile.
public AuditModel runShowLogPage(Auditor auditor,
java.lang.String label,
java.lang.Thread.UncaughtExceptionHandler handler)
AuditManagerAuditor, and runs the
audit. If a log page already exists for the label and the associated
auditor is still auditing, that audit is cancelled, and that auditor
is replaced by the auditor passed to this method.
runShowLogPage in class AuditManagerauditor - The auditor to run the audit.label - The label for the log page.handler - A handler for uncaught exceptions, or null for a default.
AuditModel, attached to the auditor, shown in the page.
public void showLogPage(Auditor auditor,
AuditModel model,
java.lang.String label)
AuditManagerAuditor and model. The caller is responsible for attaching the model to
the auditor and for running the audit.
showLogPage in class AuditManagerauditor - The auditor running the audit.model - The AuditModel, attached to the auditor, to be shown.label - The label for the log page.public Transformer createTransformer()
AuditManagerTransformer.
createTransformer in class AuditManagerpublic java.util.Map<java.lang.String,ExtensionBean> getBeans()
getBeans in class AuditManagerpublic java.util.Collection<java.lang.Class<? extends Analyzer>> getAnalyzers()
AuditManager
getAnalyzers in class AuditManagerpublic Converter getConverter(java.lang.Class<?> type)
Converter defined for a type.
public static java.lang.Class<?> getPrimitiveType(java.lang.Class type)
public java.util.Map<java.lang.Class<?>,java.beans.PersistenceDelegate> getPersistenceDelegates()
AuditManager
getPersistenceDelegates in class AuditManagerpublic java.util.Collection<Profile> getProfiles()
AuditManager
getProfiles in class AuditManagerpublic java.util.Collection<java.net.URL> getStyleSheets()
AuditManager
getStyleSheets in class AuditManagerpublic java.util.Collection<java.net.URL> getProfileStyleSheets()
AuditManager
getProfileStyleSheets in class AuditManagerpublic java.util.Map<java.lang.Class<?>,BeanCustomizer> getBeanCustomizers()
AuditManager
getBeanCustomizers in class AuditManagerpublic boolean isRegistered(java.lang.Class<?> type)
AuditManager
isRegistered in class AuditManagertype - The analyzer or model type to test.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||