|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 InstrumentationManager
conf
- providers
- public void manageProvider(InstrumentationProvider provider)
manageProvider
in interface InstrumentationManager
provider
- config
- public Set<InstrumentationProvider> getProviders()
getProviders
in interface InstrumentationManager
public void start(InstrumentationLevel level, Object context)
start
in interface InstrumentationManager
level
- instrumentation levelcontext
- instrumentation context (broker, factory, config,...)public void stop(InstrumentationLevel level, Object context)
stop
in interface InstrumentationManager
context
- instrumentation context (broker, factory, config,...)public void close() throws Exception
close
in interface Closeable
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |