[svn r139] updated x4o
This commit is contained in:
parent
d7f9564f24
commit
7db709e9b6
Binary file not shown.
|
@ -91,4 +91,11 @@ public class BindAttributeHandler implements GlobalParameterHandler {
|
||||||
public void setParameterName(String parameterName) {
|
public void setParameterName(String parameterName) {
|
||||||
this.parameterName=parameterName;
|
this.parameterName=parameterName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see com.idcanet.x4o.context.GlobalParameterHandler#getProcessCloseTag()
|
||||||
|
*/
|
||||||
|
public Boolean getProcessCloseTag() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,4 +64,11 @@ public class IdAttributeHandler implements GlobalParameterHandler {
|
||||||
public void setParameterName(String parameterName) {
|
public void setParameterName(String parameterName) {
|
||||||
this.parameterName=parameterName;
|
this.parameterName=parameterName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see com.idcanet.x4o.context.GlobalParameterHandler#getProcessCloseTag()
|
||||||
|
*/
|
||||||
|
public Boolean getProcessCloseTag() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,8 @@ import java.util.Properties;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import javax.servlet.ServletContextEvent;
|
//import javax.servlet.ServletContextEvent;
|
||||||
import javax.servlet.ServletContextListener;
|
//import javax.servlet.ServletContextListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helps to startup Foei in a J2EE context.
|
* Helps to startup Foei in a J2EE context.
|
||||||
|
@ -47,7 +47,7 @@ import javax.servlet.ServletContextListener;
|
||||||
* @author Willem Cazander
|
* @author Willem Cazander
|
||||||
* @version 1.0 Jan 20, 2006
|
* @version 1.0 Jan 20, 2006
|
||||||
*/
|
*/
|
||||||
public class FoeiStartupListener implements ServletContextListener {
|
public class FoeiStartupListener { //implements ServletContextListener {
|
||||||
|
|
||||||
/** The logger to log to. */
|
/** The logger to log to. */
|
||||||
private Logger logger = null;
|
private Logger logger = null;
|
||||||
|
@ -57,7 +57,7 @@ public class FoeiStartupListener implements ServletContextListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Starts Foei
|
* Starts Foei
|
||||||
*/
|
*//*
|
||||||
public void contextInitialized(ServletContextEvent event) {
|
public void contextInitialized(ServletContextEvent event) {
|
||||||
logger = Logger.getLogger(FoeiStartupListener.class.getName());
|
logger = Logger.getLogger(FoeiStartupListener.class.getName());
|
||||||
|
|
||||||
|
@ -90,12 +90,12 @@ public class FoeiStartupListener implements ServletContextListener {
|
||||||
logger.log(Level.WARNING,"Error while starting FoeiContext: "+e.getMessage(),e);
|
logger.log(Level.WARNING,"Error while starting FoeiContext: "+e.getMessage(),e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop Foei
|
* Stop Foei
|
||||||
*/
|
*/
|
||||||
public void contextDestroyed(ServletContextEvent event) {
|
public void contextDestroyed() { //(ServletContextEvent event) {
|
||||||
logger.info("Stopping Foei Contexts");
|
logger.info("Stopping Foei Contexts");
|
||||||
try {
|
try {
|
||||||
FoeiContextManagerFactory.getFoeiContextManager().destroyAll();
|
FoeiContextManagerFactory.getFoeiContextManager().destroyAll();
|
||||||
|
|
Loading…
Reference in a new issue