public class Agent extends Object
Modifier and Type | Method and Description |
---|---|
static ConfigService |
getConfigService(String pluginId)
Returns the
ConfigService instance for the specified pluginId . |
static Logger |
getLogger(Class<?> clazz) |
static TransactionService |
getTransactionService()
Returns the
TransactionService instance. |
public static TransactionService getTransactionService()
TransactionService
instance.
The return value can (and should) be cached by the plugin for the life of the jvm to avoid
looking it up every time it is needed (which is often).public static ConfigService getConfigService(String pluginId)
ConfigService
instance for the specified pluginId
.
The return value can (and should) be cached by the plugin for the life of the jvm to avoid
looking it up every time it is needed (which is often).Copyright © 2011–2015 Glowroot contributors. All rights reserved.