public abstract class AuditProvider
extends java.lang.Object
bean customizers
style sheets
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 and Description |
---|
AuditProvider() |
AuditProvider(Addin addin) |
Modifier and Type | Method and Description |
---|---|
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.
|
public AuditProvider()
public AuditProvider(Addin addin)
public java.lang.String getExtensionId()
AuditProvider
implementation returns null.public Addin getAddin()
AuditProvider
implementation returns null. The Audit framework uses this for
non-critical reporting purposes.public java.lang.Class[] getBeanCustomizers()
BeanCustomizer
.
The default AuditProvider
implementation returns null.Class
es assignable from
ModelType
, an empty array, or null.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)
.