public void destroy() {
    //Avoid memory leak by unregistering mBean on destroy
    unregisterMBean();
    if (wroManagerFactory != null) {
      wroManagerFactory.destroy();
    }
    if (wroConfiguration != null) {
      wroConfiguration.destroy();
    }
    Context.destroy();
  }
public void destroy() {
    
    unregisterMBean();
    if (wroManagerFactory != null) {
      wroManagerFactory.destroy();
    }
    if (wroConfiguration != null) {
      wroConfiguration.destroy();
    }
    Context.destroy();
  }
public void destroy ( ) { //Avoid memory leak by unregistering mBean on destroy unregisterMBean ( ) ; if ( wroManagerFactory != null ) { wroManagerFactory . destroy ( ) ; } if ( wroConfiguration != null ) { wroConfiguration . destroy ( ) ; } Context . destroy ( ) ; }
{@inheritDoc}
{