|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.tracing.ProviderFactory sun.tracing.MultiplexProviderFactory
public class MultiplexProviderFactory
Factory class to create tracing Providers. This factory creates a "multiplex provider", which is a provider that encapsulates a list of providers and whose probes trigger a corresponding trigger in each of the encapsulated providers' probes. This is used when there are multiple tracing frameworks activated at once. A user-defined provider gets implementation for each of the activated frameworks and this multiplex framework is what is ultimately passed back to the user. All probe triggers are multiplexed to each active framework.
Constructor Summary | |
---|---|
MultiplexProviderFactory(java.util.Set<ProviderFactory> factories)
|
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 MultiplexProviderFactory(java.util.Set<ProviderFactory> factories)
Method Detail |
---|
public <T extends Provider> T createProvider(java.lang.Class<T> cls)
ProviderFactory
createProvider
in class ProviderFactory
cls
- 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 |