Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.jsp.libraries
Class JspLibraryAddin

java.lang.Object
  extended by oracle.jdeveloper.jsp.libraries.JspLibraryAddin
All Implemented Interfaces:
Addin, ShutdownHook

public class JspLibraryAddin
extends java.lang.Object
implements Addin, ShutdownHook


Constructor Summary
JspLibraryAddin()
           
 
Method Summary
 boolean canShutdown()
          Called on shutdown hooks in the order they were registered prior to shutting down the IDE.
 void initialize()
          Invoked by the AddinManager after the instance of the Addin is instantiated.
 void shutdown()
          Called on all shutdown hooks in the order they were registered when the IDE is terminating.
 
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: ShutdownHook
Called on all shutdown hooks in the order they were registered when the IDE is terminating. The IDE will quit when this method is called, therefore it is unnecessary to perform deregistration tasks that do not have an external effect. For example, it is unnecessary to deregister menu items, but it might be necessary to close a network connection or save a file.

Specified by:
shutdown in interface ShutdownHook

canShutdown

public boolean canShutdown()
Description copied from interface: ShutdownHook
Called on shutdown hooks in the order they were registered prior to shutting down the IDE. If any hook returns false, the shutdown sequence will be aborted and no further hooks will be queried.

Specified by:
canShutdown in interface ShutdownHook
Returns:
true if shutdown can proceed, false to abort shutdown.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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