Extension SDK 9.0.5

oracle.jdeveloper.jsp.libraries
Class JspLibraryAddin

java.lang.Object
  extended byoracle.jdeveloper.jsp.libraries.JspLibraryAddin
All Implemented Interfaces:
Addin, Module

public class JspLibraryAddin
extends java.lang.Object
implements Addin


Constructor Summary
JspLibraryAddin()
           
 
Method Summary
 boolean canShutdown()
          This method is invoked by the AddinManager before the IDE terminates.
 float ideVersion()
          This method is called to determine the ide version number for which this Addin was implemented.
 void initialize()
          Invoked by the AddinManager after the instance of the Addin is instantiated.
 void shutdown()
          This method is invoked by the AddinManager when the IDE terminates.
 float version()
          This method is called to determine the Addin version number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspLibraryAddin

public JspLibraryAddin()
Method Detail

initialize

public void initialize()
Description copied from interface: Addin
Invoked by the 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.

Specified by:
initialize in interface Addin
See Also:
AddinManager

shutdown

public void shutdown()
Description copied from interface: Addin
This method is invoked by the AddinManager when the IDE terminates. Any non java resources (file handles, database connections, etc) which are still being held by this Addin should be released by this method immediately. This method is not guaranteed to be called, but on normal terminations of the IDE, this method will be invoked.

Specified by:
shutdown in interface Addin

version

public float version()
Description copied from interface: Addin
This method is called to determine the Addin version number.

Specified by:
version in interface Addin
Returns:
the version number.

ideVersion

public float ideVersion()
Description copied from interface: Addin
This method is called to determine the ide version number for which this Addin was implemented.

Specified by:
ideVersion in interface Addin
Returns:
the ide version number.

canShutdown

public boolean canShutdown()
Description copied from interface: Addin
This method is invoked by the AddinManager before the IDE terminates. Addins should NOT use this method to release resources. They should only use this method to give users the opportunity to cancel the exit process if there is some process started by this addin still running. Implementations should return false to cancel the shutdown process.

Specified by:
canShutdown in interface Addin

Extension SDK

 

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