org.jvnet.hudson.plugins.monitoring
Class PluginImpl

java.lang.Object
  extended by hudson.Plugin
      extended by org.jvnet.hudson.plugins.monitoring.PluginImpl
All Implemented Interfaces:
hudson.model.Saveable

public class PluginImpl
extends hudson.Plugin

Entry point of the plugin.

There must be one Plugin class in each plugin. See javadoc of Plugin for more about what can be done on this class.

Author:
Emeric Vernat

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
PluginImpl()
           
 
Method Summary
 void postInitialize()
          
 void setServletContext(javax.servlet.ServletContext context)
          
 void start()
          
 void stop()
          
 
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, load, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

setServletContext

public void setServletContext(javax.servlet.ServletContext context)

Overrides:
setServletContext in class hudson.Plugin

start

public void start()
           throws java.lang.Exception

Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

postInitialize

public void postInitialize()
                    throws java.lang.Exception

Overrides:
postInitialize in class hudson.Plugin
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception

Overrides:
stop in class hudson.Plugin
Throws:
java.lang.Exception


Copyright © 2009-2012. All Rights Reserved.