com.ecyrd.jspwiki.util |
com.ecyrd.jspwiki.util
Provides a number of utility libraries that are of general use.
Package Specification
The util-package provides a number of utility libraries that are of
general use, and should not be JSPWiki-specific.
Related Documentation
|
Java Source File Name | Type | Comment |
AllTests.java | Class | |
BlogUtil.java | Class | Contains useful utilities for JSPWiki blogging functionality. |
ClassUtil.java | Class | Contains useful utilities for class file manipulation. |
ClassUtilTest.java | Class | |
CommentedProperties.java | Class | Extends
java.util.Properties by providing support for comment
preservation. |
CommentedPropertiesTest.java | Class | |
FormUtil.java | Class | A collection of (static) utilities used by the WikiForms code. |
HttpUtil.java | Class | Contains useful utilities for some common HTTP tasks. |
MailUtil.java | Class | Contains static methods for sending e-mails to recipients using JNDI-supplied
JavaMail
Sessions supplied by a web container (preferred) or configured via
jspwiki.properties ; both methods are described below.
Because most e-mail servers require authentication,
for security reasons implementors are strongly encouraged to use
container-managed JavaMail Sessions so that passwords are not exposed in
jspwiki.properties .
To enable e-mail functions within JSPWiki, administrators must do three things:
ensure that the required JavaMail JARs are on the runtime classpath, configure
JavaMail appropriately, and (recommdended) configure the JNDI JavaMail session factory.
JavaMail runtime JARs
The first step is easy: JSPWiki bundles
recent versions of the required JavaMail mail.jar and
activation.jar into the JSPWiki WAR file; so, out of the box
this is already taken care of. |
MailUtilTest.java | Class | This test is not integrated into any TestSuite yet, because I don't know how
to really assert if a mail was sent etc. |
PriorityList.java | Class | Builds a simple, priority-based List implementation. |
PriorityListTest.java | Class | |
ProviderConverter.java | Class | A command-line application that allows you to convert from
one provider to another. |
TextUtilTest.java | Class | |
Watchable.java | Interface | A watchdog needs something to watch. |
WatchDog.java | Class | WatchDog is a general system watchdog. |
WikiBackgroundThread.java | Class | Abstract Thread subclass that operates in the background;
when it detects the
WikiEngineEvent.SHUTDOWN event,
it terminates itself. |