Methods Summary |
---|
public com.sun.enterprise.deployment.Application | getApplication()
return this.application;
|
public java.lang.ClassLoader | getClassLoader()
return this.loader;
|
public com.sun.enterprise.config.ConfigContext | getConfigContext()
return this.configContext;
|
public int | getEventType()
return this.eventType;
|
public java.lang.String | toString()
StringBuffer sbuf = new StringBuffer("AppEvent: ");
return toString(sbuf);
|
protected java.lang.String | toString(java.lang.StringBuffer sbuf)Appends event info to the already-instantiated StringBuffer argument.
switch (eventType) {
case BEFORE_APPLICATION_LOAD:
sbuf.append("BEFORE_LOAD -> ");
break;
case AFTER_APPLICATION_LOAD:
sbuf.append("AFTER_LOAD -> ");
break;
case BEFORE_APPLICATION_UNLOAD:
sbuf.append("BEFORE_UNLOAD -> ");
break;
case AFTER_APPLICATION_UNLOAD:
sbuf.append("AFTER_UNLOAD -> ");
break;
default:
//
}
if (application != null) {
sbuf.append(application.getRegistrationName());
}
return sbuf.toString();
|