|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.audit.AuditProvider
A provider of Audit extension components. A provider can provide any of the following:
analyzers
columns
document types
profiles
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).
Nested Class Summary | |
class |
AuditProvider.PersistenceDelegateBinding
|
Constructor Summary | |
AuditProvider()
|
Method Summary | |
java.lang.Class[] |
getAnalyzers()
Gets the analyzer classes defined by this provider. |
java.lang.Class[] |
getColumns()
Gets the column classes defined by 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 or Metrics profiles defined by this provider. |
java.net.URL[] |
getStyleSheets(AuditType type)
Gets the default Audit or Metrics 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.Class[] getAnalyzers()
Analyzer
. The default
AuditProvider
implementation returns null.
Class
es assignable from Analyzer
,
an empty array, or null.public java.lang.Class[] getColumns()
Column
. The default
AuditProvider
implementation returns null.
Class
es assignable from Column
,
an empty array, or null.public java.lang.Class[] getModels()
DocumentTypeAdapter
.
The default AuditProvider
implementation returns null.
Class
es assignable from
DocumentTypeAdapter
, 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
defined 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(AuditType type)
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)
.
type
- The feature type (AUDIT
or
METRICS
) of the style sheets requested.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.