|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InitException | |
org.webmacro | |
org.webmacro.directive | |
org.webmacro.engine | |
org.webmacro.resource | What's in this directory: -- Classes that relate to resources made available in the WebMacro system. |
org.webmacro.servlet | |
org.webmacro.util |
Uses of InitException in org.webmacro |
Methods in org.webmacro that throw InitException | |
void |
Provider.init(Broker b,
Settings config)
Initialize this provider based on the specified config. |
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. |
Constructors in org.webmacro that throw InitException | |
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. |
|
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. |
Uses of InitException in org.webmacro.directive |
Methods in org.webmacro.directive that throw InitException | |
void |
DirectiveProvider.registerDirective(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 |
ParserProvider.register(java.lang.String pClassName,
java.lang.String pType)
Register a new parser class, |
void |
ParserProvider.init(Broker broker,
Settings p)
|
void |
PropertyOperatorCache.init(Broker b,
Settings config)
|
Uses of InitException in org.webmacro.resource |
Methods in org.webmacro.resource that throw InitException | |
void |
UrlProvider.init(Broker b,
Settings config)
|
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 |
TrivialCacheManager.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 |
void |
TemplatePathTemplateLoader.setConfig(java.lang.String config)
|
void |
StaticSMapCacheManager.init(Broker b,
Settings config,
java.lang.String resourceType)
|
void |
StaticIdentityCacheManager.init(Broker b,
Settings config,
java.lang.String resourceType)
|
void |
ServletContextTemplateLoader.init(Broker broker,
Settings config)
|
void |
SMapCacheManager.init(Broker b,
Settings config,
java.lang.String resourceType)
|
void |
HMapCacheManager.init(Broker b,
Settings config,
java.lang.String resourceType)
|
void |
GenerationalCacheManager.init(Broker b,
Settings config,
java.lang.String resourceType)
|
void |
DelegatingTemplateProvider.init(Broker broker,
Settings config)
|
protected TemplateLoaderFactory |
DelegatingTemplateProvider.createFactory(java.lang.String classname)
|
TemplateLoader |
TemplateLoaderFactory.getTemplateLoader(Broker b,
java.lang.String config)
Create a template loader |
TemplateLoader |
DefaultTemplateLoaderFactory.getTemplateLoader(Broker b,
java.lang.String config)
|
void |
ConfigProvider.init(Broker b,
Settings config)
|
void |
ClassPathTemplateLoader.init(Broker broker,
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 |
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 |
ReloadDelayDecorator.init(Broker b,
Settings config)
Initialize object. |
void |
TemplateLoaderHelper.init(Broker b,
Settings config)
Initialize this object |
void |
TemplateLoader.init(Broker b,
Settings settings)
Init this template loader* |
void |
TemplateLoader.setConfig(java.lang.String config)
Set the config options for this template loader. |
void |
AbstractTemplateLoader.init(Broker b,
Settings config)
Sets up broker, reloadDelayDecorator and log. |
void |
ResourceLoader.init(Broker b,
Settings config)
Initialize this provider based on the specified config. |
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 |
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. |
protected void |
Servlet22Broker.loadServletSettings(java.lang.String prefix)
|
protected void |
Servlet22Broker.init()
|
static Broker |
Servlet22Broker.getBroker(javax.servlet.Servlet s)
|
static Broker |
ServletBroker.getBroker(javax.servlet.Servlet s)
|
static Broker |
Servlet20Broker.getBroker(javax.servlet.Servlet s)
|
Constructors in org.webmacro.servlet that throw InitException | |
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. |
|
ServletBroker(javax.servlet.ServletContext sc)
|
|
Servlet20Broker(javax.servlet.ServletContext sc,
java.lang.ClassLoader cl)
|
Uses of InitException in org.webmacro.util |
Methods in org.webmacro.util that throw InitException | |
void |
EncoderProvider.init(Broker b,
Settings config)
Initialize this provider based on the specified config. |
void |
Encoder.init(Broker b,
Settings config)
|
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. |
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 |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |