|
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.AuditProvider
public abstract class AuditProvider
A provider of Audit extension components. A provider can provide any of the following:
analyzers
columns
node adapter types
bean customizers
persistence delegates
profiles
style sheets
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.
Nested Class Summary | |
---|---|
class |
AuditProvider.PersistenceDelegateBinding A value class which associates a type and a persistence delegate. |
Constructor Summary | |
---|---|
AuditProvider() |
Method Summary | |
---|---|
java.lang.Class[] |
getAnalyzers() Gets the analyzer classes defined by this provider. |
java.lang.Class[] |
getBeanCustomizers() Gets the bean customizers defined by this provider. |
java.lang.Class[] |
getColumns() Gets the column classes defined by this provider. |
java.lang.String |
getExtensionId() Gets the id of the extension that owns this provider. |
java.lang.Class[] |
getModels() Gets the model classes defined by this provider. |
AuditProvider.PersistenceDelegateBinding[] |
getPersistenceDelegates() Gets the persistence delegates defined by this provider. |
Profile[] |
getProfiles() Gets the default Audit profiles predefined by 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 |
---|
public AuditProvider()
Method Detail |
---|
public java.lang.String getExtensionId()
AuditProvider
implementation returns null.public java.lang.Class[] getAnalyzers()
Analyzer
. The default AuditProvider
implementation returns null.Class
es assignable from Analyzer
, an empty array, or null.public java.lang.Class[] getColumns()
Attribute
. The default AuditProvider
implementation returns null.Class
es assignable from Column
, an empty array, or null.public java.lang.Class[] getModels()
ModelType
. The default AuditProvider
implementation returns null.Class
es assignable from ModelType
, an empty array, or null.public java.lang.Class[] getBeanCustomizers()
BeanCustomizer
. The default AuditProvider
implementation returns null.Class
es assignable from ModelType
, an empty array, or null.public AuditProvider.PersistenceDelegateBinding[] getPersistenceDelegates()
AuditProvider.PersistenceDelegateBinding
, which associates a type and a persistence delegate. Persistence delegates should be supplied for any type which must be saved by Audit and which does not follow JavaBeans rules. See the Swing Connection article Using XMLEncoder for more information about writing persistence delegates. The default AuditProvider
implementation returns null.PersistenceDelegateBinding
instances, an empty array, or null.public Profile[] getProfiles()
profiles
predefined by this provider. The default AuditProvider
implementation returns null.
Typically, the saved profile files are packaged in the same jar as the provider and the profile is created using a URL to the file obtained by Class.getResource(java.lang.String)
.
public java.net.URL[] getStyleSheets()
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)
.
public java.net.URL[] getProfileStyleSheets()
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)
.
|
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 |