org.wso2.carbon.javaee.tomee
Class ASTomEEServerListener

java.lang.Object
  extended by org.apache.tomee.catalina.ServerListener
      extended by 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


Constructor Summary
ASTomEEServerListener()
           
 
Method Summary
 void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
           
protected  void setOpenJPALogFactory()
          Set AS specific OpenJPA logger since OpenJPA logging is broken with default implementation.
protected  void setServiceManager(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTomEEServerListener

public ASTomEEServerListener()
Method Detail

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.