public abstract class AbstractAuditAddin extends AuditProvider implements Addin
AuditProvider and fully implements the Addin interface. On JDeveloper initialization, it registers itself as an Audit provider.
To function properly in execution contexts in which no UI is created (e.g., ojaudit and ojmetrics), subclasses should not override initialize() but instead should override initializeAlways() and/or initializeUI(). initializeAlways is invoked in all contexts; initializeUI is only invoked in contexts in which the UI is created.
AuditProvider, Addin| Constructor and Description |
|---|
AbstractAuditAddin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canShutdown()
The
AbstractAuditAddin implementation returns true. |
void |
initialize()
Invoked by the
AddinManager after the instance of the Addin is instantiated. |
protected void |
initializeAlways()
Initializes subclass functionality that is always required, whether or not JDeveloper creates a user interface.
|
protected void |
initializeUI()
Initializes subclass functionality that applies only if JDeveloper creates a user interface.
|
void |
shutdown()
The
AbstractAuditAddin implementation is empty. |
getAddin, getBeanCustomizers, getExtensionId, getProfileStyleSheets, getStyleSheetspublic void initialize()
AddinManager after the instance of the Addin is instantiated. When invoked, The Addin should register and menu items, and actions required for use during this classes lifecycle. Addin authors should take care to ensure that any extraneous initialization is not preformed on this method, and any startup code that can be delayed until a later time is delayed, as the Addin's are synchronously initialized during the startup of the IDE, and each Addin has the potential to negatively impact the startup time of the product. The AbstractAuditAddin implementation registers this class as an AuditProvider, invokes initializeAlways() and, if the UI is initializing, invokes initializeUI().initialize in interface AddinAddinManagerprotected void initializeAlways()
AbstractAuditAddin implementation is empty.protected void initializeUI()
AbstractAuditAddin implementation is empty.public boolean canShutdown()
AbstractAuditAddin implementation returns true.public void shutdown()
AbstractAuditAddin implementation is empty.