List of usage examples for javax.servlet ServletContextAttributeEvent getSource
public Object getSource()
From source file:com.medlog.webservice.lifecycle.NewServletListener.java
private void logit(ServletContextAttributeEvent e, String event) { try {/*from ww w . ja v a2 s . c om*/ System.out.println(StrUtl.toS(e.getSource().getClass().getName(), "[source]"));//, e.getName(), StrUtl.toS( e.getValue().toString(), "[val]" ), event ); System.out.print(event); System.out.print(" -:- "); System.out.print(StrUtl.toS(e.getName(), "[name]")); System.out.print(" = "); System.out.println(StrUtl.toS(e.getValue().toString(), "[val]")); } catch (Exception ee) { ee.printStackTrace(); } }