|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectHttpServlet
com.facetmap.servlet.FacetmapServlet
com.facetmap.example.movies.MovieFacetmapServlet
public class MovieFacetmapServlet
Extends FacetmapServlet so that it serves the movie data in this package.
| Field Summary |
|---|
| Fields inherited from class com.facetmap.servlet.FacetmapServlet |
|---|
configException, configProps, configured, DEFAULT_PROPERTIES_FILENAME, facetmap, logger, processor, propsPersister, viewPersister |
| Constructor Summary | |
|---|---|
MovieFacetmapServlet()
|
|
| Method Summary | |
|---|---|
Facetmap |
createFacetmap()
Usually a rewrite of FacetmapServlet.createFacetmap()
is all that's required to install your own Facetmap classes into the servlet. |
| Methods inherited from class com.facetmap.servlet.FacetmapServlet |
|---|
doInit, getConfigurationException, getFacetmap, getProcessor, getProperties, getViewPersister, init, isConfigured, readProps, reconfigure, setProcessor, writeProps |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovieFacetmapServlet()
| Method Detail |
|---|
public Facetmap createFacetmap()
throws DataException,
InternalException
FacetmapServlet.createFacetmap()
is all that's required to install your own Facetmap classes into the servlet.
The servlet state (Facetmap configuration and web application context)
are available to this method. In our case we read one special init parameter
(facetmapClass) from the context, to determine whether to implement Facetmap
as SimpleFacetmap or SqlFacetmap.
createFacetmap in class FacetmapServletDataException
InternalException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||