Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.audit
Class AuditProvider

java.lang.Object
  extended by oracle.jdeveloper.audit.AuditProvider
Direct Known Subclasses:
AbstractAuditAddin

public abstract class AuditProvider
extends java.lang.Object

A provider of Audit extension components. A provider can provide any of the following:

IDE extensions which extend Audit must register a provider with the AuditManager at startup. As Audit needs components, it queries the registered providers and creates the components that they indicate.

AuditProvider is essentially a callback interface. Audit gets components through this callback, rather than having extensions instantiate and register them individually, so that class and file loading and object creation can be deferred as late as possible (in particular, until after IDE startup).

NOTE: The Audit API will be shifting somewhat to take advantage of the extension mechanism introduced in 10.1.3. My expectation is that this class will become superfluous, replaced by equivalent (Audit-specific) declarations in the extension XML file.


Constructor Summary
AuditProvider()
           
AuditProvider(Addin addin)
           
 
Method Summary
 Addin getAddin()
          Gets the addin that registered this provider.
 java.lang.Class[] getBeanCustomizers()
          Gets the bean customizers defined by this provider.
 java.lang.String getExtensionId()
          Gets the id of the extension that owns this provider.
 java.net.URL[] getProfileStyleSheets()
          Gets the default Profile report XSLT style sheet URLs defined by this provider.
 java.net.URL[] getStyleSheets()
          Gets the default Audit report XSLT style sheet URLs defined by this provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditProvider

public AuditProvider()

AuditProvider

public AuditProvider(Addin addin)
Method Detail

getExtensionId

public java.lang.String getExtensionId()
Gets the id of the extension that owns this provider. The AuditProvider implementation returns null.


getAddin

public Addin getAddin()
Gets the addin that registered this provider. The AuditProvider implementation returns null. The Audit framework uses this for non-critical reporting purposes.


getBeanCustomizers

public java.lang.Class[] getBeanCustomizers()
Gets the bean customizers defined by this provider. These must be concrete subclasses of BeanCustomizer. The default AuditProvider implementation returns null.

Returns:
An array of Classes assignable from ModelType, an empty array, or null.

getStyleSheets

public java.net.URL[] getStyleSheets()
Gets the default Audit report XSLT style sheet URLs defined by this provider. The style sheet for a URL url will be named URLFileSystem.getName(url). The default AuditProvider implementation returns null.

Typically, the style sheets are packaged in the same jar as the provider and the URL is created with Class.getResource(java.lang.String).

Returns:
An array of URLs of saved profiles, an empty array, or null.

getProfileStyleSheets

public java.net.URL[] getProfileStyleSheets()
Gets the default Profile report XSLT style sheet URLs defined by this provider. The style sheet for a URL url will be named URLFileSystem.getName(url). The default AuditProvider implementation returns null.

Typically, the style sheets are packaged in the same jar as the provider and the URL is created with Class.getResource(java.lang.String).

Returns:
An array of URLs of saved profiles, an empty array, or null.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.