Uses of Class
org.webmacro.InitException

Packages that use InitException
org.webmacro   
org.webmacro.directive   
org.webmacro.engine   
org.webmacro.resource   
org.webmacro.servlet   
org.webmacro.util   
 

Uses of InitException in org.webmacro
 

Methods in org.webmacro that throw InitException
protected  void Broker.init()
          Constructors should call this after they've set up the properties to set up common things like profiling, providers, etc.
static Broker Broker.getBroker()
           
static Broker Broker.getBroker(java.lang.String settingsFile)
           
protected  void Broker.loadDefaultSettings()
           
protected  boolean Broker.loadSettings(java.lang.String name, boolean optional)
           
 void Broker.addProvider(Provider p, java.lang.String pType)
          Register a new provider, calling its getType() method to find out what type of requests it wants to serve.
 void Provider.init(Broker b, Settings config)
          Initialize this provider based on the specified config.
 

Constructors in org.webmacro that throw InitException
Broker()
          Equivalent to Broker("WebMacro.properties"), except that it doesn't complain if WebMacro.properties can't be found.
Broker(java.lang.String fileName)
          Search the classpath for the properties file under the specified name.
Broker(Broker dummy, java.lang.String name)
          Explicitly provide the properties that WebMacro should configure from.
WM()
          Constructs a WM which gets its properties (optionally) from the file WebMacro.properties, as found on the class path.
WM(java.lang.String config)
          Constructs a WM which gets its properties from the file specified, which must exist on the class path or be an absolute path.
WM(javax.servlet.Servlet s)
          Constructs a WM is tied to a Servlet broker.
WM(Broker broker)
          Constructs a WM from an arbitrary Broker.
 

Uses of InitException in org.webmacro.directive
 

Methods in org.webmacro.directive that throw InitException
 void DirectiveProvider.register(java.lang.String dirClassName, java.lang.String dirName)
          Register a new directive class, so that a builder of this type can be retrieved later.
 void DirectiveProvider.init(Broker broker, Settings config)
           
 

Uses of InitException in org.webmacro.engine
 

Methods in org.webmacro.engine that throw InitException
 void PropertyOperatorCache.init(Broker b, Settings config)
           
 void ParserProvider.register(java.lang.String pClassName, java.lang.String pType)
          Register a new parser class,
 void ParserProvider.init(Broker broker, Settings p)
           
 

Uses of InitException in org.webmacro.resource
 

Methods in org.webmacro.resource that throw InitException
 void TrivialCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void CacheManager.init(Broker b, Settings config, java.lang.String resourceType)
          Same as defined in Provider, except with an additional type parameter so it knows what type of resource it is caching
 void StaticSMapCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void StaticIdentityCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void ResourceLoader.init(Broker b, Settings config)
          Initialize this provider based on the specified config.
 void CachingProvider.init(Broker b, Settings config)
          If you override this method be sure and call super.init(...)
 void BrokerTemplateProvider.init(Broker b, Settings config)
           
 void BrokerTemplateProviderHelper.init(Broker b, Settings config)
          Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
 void HMapCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void URLTemplateProvider.init(Broker b, Settings config)
          Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
 void ConfigProvider.init(Broker b, Settings config)
           
 void SMapCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void ReloadDelayDecorator.init(Broker b, Settings config)
          Initialize object.
 void UrlProvider.init(Broker b, Settings config)
           
 void GenerationalCacheManager.init(Broker b, Settings config, java.lang.String resourceType)
           
 void TemplateProvider.init(Broker b, Settings config)
          Create a new TemplateProvider that uses the specified directory as the source for Template objects that it will return
 

Uses of InitException in org.webmacro.servlet
 

Methods in org.webmacro.servlet that throw InitException
 WebMacro WMServlet.initWebMacro()
          This method returns the WebMacro object which will be used to load, access, and manage the Broker.
 WebContext WMServlet.initWebContext()
          This method must return a cloneable WebContext which can be cloned for use in responding to individual requests.
static Broker ServletBroker.getBroker(javax.servlet.Servlet s)
           
static Broker Servlet20Broker.getBroker(javax.servlet.Servlet s)
           
protected  void Servlet22Broker.loadServletSettings(java.lang.String prefix)
           
static Broker Servlet22Broker.getBroker(javax.servlet.Servlet s)
           
 

Constructors in org.webmacro.servlet that throw InitException
ServletBroker(javax.servlet.ServletContext sc)
           
Servlet20Broker(javax.servlet.ServletContext sc, java.lang.ClassLoader cl)
           
Servlet22Broker(javax.servlet.ServletContext sc, java.lang.ClassLoader cl)
          Creates the broker looking in WEB-INF first for WebMacro.properties before looking in the application root.
 

Uses of InitException in org.webmacro.util
 

Methods in org.webmacro.util that throw InitException
 void Settings.load(java.lang.String fileName)
          Load settings from the supplied fileName, searching for the file along the classpath, and then search for the settings file as a file: URL.
 void Encoder.init(Broker b, Settings config)
           
 void EncoderProvider.init(Broker b, Settings config)
          Initialize this provider based on the specified config.
 

Constructors in org.webmacro.util that throw InitException
Settings(java.lang.String settingsFile)
          Search for the named settingsFile on the classpath and instantiate a Settings object based on its values
Settings(java.net.URL settingsFile)
          Search for the named settingsFile from the supplied URL and instantiate a Settings object based on its values