|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jiprof.instrument.clfilter.JBossServletClassLoaderFilter
public class JBossServletClassLoaderFilter
This class has only been tested with JBoss 4.0.4 GA
| Constructor Summary | |
|---|---|
JBossServletClassLoaderFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.lang.ClassLoader loader)
Tries to determine if the given ClassLoader
is the "application classloader". |
boolean |
canFilter()
This method examines the environment to determine if it can be used to filter by ClassLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JBossServletClassLoaderFilter()
| Method Detail |
|---|
public boolean accept(java.lang.ClassLoader loader)
ClassLoaderFilterClassLoader
is the "application classloader". What this means exactly
is dependent on the type of application (that is, this is
different for Tomcat than for a standalone app)
accept in interface ClassLoaderFilterpublic boolean canFilter()
ClassLoaderFilterClassLoader.
For example, a realization of this class for Tomcat
might look for Tomcat's VM parameters to determine
if the Tomcat is running in the VM.
canFilter in interface ClassLoaderFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||