@Service @RunLevel(value=1) public class MonitoringBootstrap extends Object implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, EventListener, com.sun.enterprise.module.ModuleLifecycleListener, ConfigListener
EventListener.Event<T>| Modifier and Type | Field and Description |
|---|---|
protected ProbeClientMediator |
pcm |
protected ProbeProviderFactory |
probeProviderFactory |
| Constructor and Description |
|---|
MonitoringBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
UnprocessedChangeEvents |
changed(PropertyChangeEvent[] propertyChangeEvents)
Notification that @Configured objects that were injected have changed
|
void |
event(EventListener.Event event)
Process a Glassfish/Payara event
|
void |
handleFutureStatsProviders() |
void |
moduleInstalled(com.sun.enterprise.module.Module module) |
void |
moduleResolved(com.sun.enterprise.module.Module module) |
void |
moduleStarted(com.sun.enterprise.module.Module module) |
void |
moduleStopped(com.sun.enterprise.module.Module module) |
void |
moduleUpdated(com.sun.enterprise.module.Module module) |
void |
postConstruct() |
void |
preDestroy() |
void |
registerProbes(String appName,
File appDir,
ClassLoader cl)
An application that has probes can be registered.
|
void |
setStatsProviderManagerDelegate() |
@Inject protected ProbeProviderFactory probeProviderFactory
@Inject protected ProbeClientMediator pcm
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void preDestroy()
preDestroy in interface org.glassfish.hk2.api.PreDestroypublic void event(EventListener.Event event)
EventListenerevent in interface EventListenerpublic void setStatsProviderManagerDelegate()
public void moduleResolved(com.sun.enterprise.module.Module module)
moduleResolved in interface com.sun.enterprise.module.ModuleLifecycleListenerpublic void moduleStarted(com.sun.enterprise.module.Module module)
moduleStarted in interface com.sun.enterprise.module.ModuleLifecycleListenerpublic void registerProbes(String appName, File appDir, ClassLoader cl)
appName - application-nameappDir - directory where application bits are present.cl - classloader that is used to load application files.public void moduleStopped(com.sun.enterprise.module.Module module)
moduleStopped in interface com.sun.enterprise.module.ModuleLifecycleListenerpublic void moduleInstalled(com.sun.enterprise.module.Module module)
moduleInstalled in interface com.sun.enterprise.module.ModuleLifecycleListenerpublic void moduleUpdated(com.sun.enterprise.module.Module module)
moduleUpdated in interface com.sun.enterprise.module.ModuleLifecycleListenerpublic void handleFutureStatsProviders()
public UnprocessedChangeEvents changed(PropertyChangeEvent[] propertyChangeEvents)
ConfigListenerchanged in interface ConfigListenerpropertyChangeEvents - list of changesCopyright © 2019. All rights reserved.