public class PollenApplicationListener extends Object implements javax.servlet.ServletContextListener
| Constructor and Description |
|---|
PollenApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeTransaction(org.nuiton.topia.TopiaContext tx)
Try to close the given transaction.
|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected void |
initDB(PollenApplicationContext applicationContext) |
protected PollenConfiguration |
prepareConfiguration()
Prepare the configuration to be used.
|
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerprotected PollenConfiguration prepareConfiguration()
protected void initDB(PollenApplicationContext applicationContext) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionprotected void closeTransaction(org.nuiton.topia.TopiaContext tx)
throws org.nuiton.topia.TopiaException
tx - the transaction to closeorg.nuiton.topia.TopiaException - if could not close the transactionCopyright © 2009-2013 CodeLutin. All Rights Reserved.