org.wso2.carbon.javaee.tomee
Class ASTomEEServerListener
java.lang.Object
org.apache.tomee.catalina.ServerListener
org.wso2.carbon.javaee.tomee.ASTomEEServerListener
- All Implemented Interfaces:
- org.apache.catalina.LifecycleListener
public class ASTomEEServerListener
- extends org.apache.tomee.catalina.ServerListener
AS baked ServerListener. Borrowed large parts of the code from TomEE
where TomEE doesn't provide extension points.
Changes can be found between the comments
"WSO2 START PATCH" and "WSO2 END PATCH"
In addition, java util logging has been changed to commons logging
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTomEEServerListener
public ASTomEEServerListener()
lifecycleEvent
public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
- Specified by:
lifecycleEvent in interface org.apache.catalina.LifecycleListener- Overrides:
lifecycleEvent in class org.apache.tomee.catalina.ServerListener
setOpenJPALogFactory
protected void setOpenJPALogFactory()
- Set AS specific OpenJPA logger since OpenJPA logging is broken with default implementation.
Borrowed the segment from a static block in JuliLogStreamFactory.
setServiceManager
protected void setServiceManager(Properties properties)
Copyright © 2015 WSO2. All rights reserved.