|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tracing.ProviderFactory
sun.tracing.PrintStreamProviderFactory
public class PrintStreamProviderFactory
Factory class to create tracing Providers. This factory will create tracing instances that print to a PrintStream when activated.
| Constructor Summary | |
|---|---|
PrintStreamProviderFactory(java.io.PrintStream stream)
|
|
| Method Summary | ||
|---|---|---|
|
createProvider(java.lang.Class<T> cls)
Creates an implementation of a Provider interface. |
|
| Methods inherited from class com.sun.tracing.ProviderFactory |
|---|
getDefaultFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintStreamProviderFactory(java.io.PrintStream stream)
| Method Detail |
|---|
public <T extends Provider> T createProvider(java.lang.Class<T> cls)
ProviderFactory
createProvider in class ProviderFactorycls - the provider interface to be defined.
cls, whose methods, when called,
will trigger tracepoints in the application.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||