Class PluginLib

java.lang.Object
com.priint.pubserver.plugin.PluginLibraryControl
com.priint.pubserver.entitydata.service.PluginLib

public class PluginLib extends com.priint.pubserver.plugin.PluginLibraryControl
For the registration and cancellation of the plugin this is the class that automatically starts up during the deployment of the plugin.
Since:
4.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.priint.pubserver.plugin.PluginLibraryControl

    com.priint.pubserver.plugin.PluginLibraryControl.PluginType
  • Field Summary

    Fields inherited from class com.priint.pubserver.plugin.PluginLibraryControl

    appName, pluginType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    To unregister the library before undeploying the application or shutdown the Publishing Server.
    void
    Reading the config file and registers the library and each plugin in this library to the Publishing Server during startup.

    Methods inherited from class com.priint.pubserver.plugin.PluginLibraryControl

    beforeVersionChange, getAppName, getAuthManager, getClientManager, getConfigForPlugin, getConfigManager, getConfigsForPlugin, getDocumentLockManager, getDocumentManager, getJNDINameForPlugin, getMediaAssetManager, getPluginConfigsFromFolder, getPluginConfigsFromFolder, getPluginLibraryInfo, getPluginManager, getPluginTags, getSessionManager, getTraceManager, isPluginLibraryStarted, readConfigsForPluginLib, startupFailed, startupSuccess, validateConfigurations, validateConfigurations

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PluginLib

      public PluginLib()
  • Method Details

    • startup

      @PostConstruct public void startup()
      Reading the config file and registers the library and each plugin in this library to the Publishing Server during startup.
      Overrides:
      startup in class com.priint.pubserver.plugin.PluginLibraryControl
    • shutdown

      @PreDestroy public void shutdown()
      To unregister the library before undeploying the application or shutdown the Publishing Server.
      Overrides:
      shutdown in class com.priint.pubserver.plugin.PluginLibraryControl