|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.instrumentation.InstrumentationManagerImpl
public class InstrumentationManagerImpl
An implementation of an instrumentation manager.
| Field Summary | |
|---|---|
Set<InstrumentationProvider> |
_providers
|
| Constructor Summary | |
|---|---|
InstrumentationManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
close()
Stops all providers |
Set<InstrumentationProvider> |
getProviders()
Returns all providers as an unmodifiable set |
void |
initialize(OpenJPAConfiguration conf,
PluginListValue pluginVal)
Initializes all providers defined for the specified configuration. |
void |
manageProvider(InstrumentationProvider provider)
Make a provider managed. |
void |
start(InstrumentationLevel level,
Object context)
Starts all providers at a specific level and context |
void |
stop(InstrumentationLevel level,
Object context)
Stops all providers at a specific level and context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Set<InstrumentationProvider> _providers
| Constructor Detail |
|---|
public InstrumentationManagerImpl()
| Method Detail |
|---|
public void initialize(OpenJPAConfiguration conf,
PluginListValue pluginVal)
initialize in interface InstrumentationManagerconf - providers - public void manageProvider(InstrumentationProvider provider)
manageProvider in interface InstrumentationManagerprovider - config - public Set<InstrumentationProvider> getProviders()
getProviders in interface InstrumentationManager
public void start(InstrumentationLevel level,
Object context)
start in interface InstrumentationManagerlevel - instrumentation levelcontext - instrumentation context (broker, factory, config,...)
public void stop(InstrumentationLevel level,
Object context)
stop in interface InstrumentationManagercontext - instrumentation context (broker, factory, config,...)
public void close()
throws Exception
close in interface CloseableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||