0 Replies Latest reply on Feb 21, 2017 1:20 PM by phaniskotharu1

    jboss 6.2.4 EAP custom global module lifecycle

    phaniskotharu1 Newbie

      Hi,

       

      I am in the process of developing a custom global module for Jboss 6.2.4 EAP. Using the examples provided in Jboss documentation and looking at the Tomcat custom valve examples, I am creating a valve by extending the valve base. The custom module/valve is working perfectly fine, however, I do not see any methods that provide life cycle management of the valve. For example, similar to a filter, I was expecting an init and destroy method to allow for initialization and tear up of the valve. How can those functions be achieved?