|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.servlet.listener.ContextListener
ContextListener
is the default context listener class that
instantiates an ApplicationContext
object.
This class is
called at the start up of JSP/Java Servlet applications that only
require any of the following LocaleSource
to determine the
locale:
Locale
information is
attached in an HTTP header.
Locale
is set to the
application.
If the application incorporates database user schema containing a locale
preference, a custom ContextListener
should be used.
Method Summary | |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Terminates ApplicationContext context object |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Intializes ApplicationContext context object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void contextInitialized(javax.servlet.ServletContextEvent event)
ApplicationContext
context object
contextInitialized
in interface javax.servlet.ServletContextListener
event
- a servlet event object
IllegalArgumentException
- if ApplicationContext
is not
instantiated.public void contextDestroyed(javax.servlet.ServletContextEvent event)
ApplicationContext
context object
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- a servlet event object
|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |