org.vfny.geoserver.global
Class GeoServerPlugIn

java.lang.Object
  extended byorg.vfny.geoserver.global.GeoServerPlugIn
All Implemented Interfaces:
org.apache.struts.action.PlugIn

public class GeoServerPlugIn
extends java.lang.Object
implements org.apache.struts.action.PlugIn

GeoServerPlugIn purpose.

Used to load the config into GeoServer. Is a pre-Condition for ConfigPlugIn. This is started by struts.

See Also:
ConfigPlugIn

Constructor Summary
GeoServerPlugIn()
           
 
Method Summary
 void destroy()
          Implement destroy.
 void init(org.apache.struts.action.ActionServlet as, org.apache.struts.config.ModuleConfig mc)
          Implement init.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoServerPlugIn

public GeoServerPlugIn()
Method Detail

destroy

public void destroy()
Implement destroy.

Does Nothing

Specified by:
destroy in interface org.apache.struts.action.PlugIn
See Also:
PlugIn.destroy()

init

public void init(org.apache.struts.action.ActionServlet as,
                 org.apache.struts.config.ModuleConfig mc)
          throws javax.servlet.ServletException
Implement init.

This does the load of the config files for GeoServer. Check the struts configuration if this is not laoding correctly.

Specified by:
init in interface org.apache.struts.action.PlugIn
Parameters:
as - Used to get ServletContext
mc - Not used
Throws:
javax.servlet.ServletException
javax.servlet.ServletException - when a load error occurs
See Also:
PlugIn.init(org.apache.struts.action.ActionServlet, org.apache.struts.config.ModuleConfig)