org.glassfish.jersey.server.internal.monitoring
Class MonitoringAutodiscoverable
java.lang.Object
org.glassfish.jersey.server.internal.monitoring.MonitoringAutodiscoverable
- All Implemented Interfaces:
- AutoDiscoverable
@ConstrainedTo(value=SERVER)
public class MonitoringAutodiscoverable
- extends Object
- implements AutoDiscoverable
Autodiscoverable feature that registers MonitoringFeature
based on configuration properties.
- Author:
- Miroslav Fuksa (miroslav.fuksa at oracle.com)
|
Method Summary |
void |
configure(FeatureContext context)
A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoringAutodiscoverable
public MonitoringAutodiscoverable()
configure
public void configure(FeatureContext context)
- Description copied from interface:
AutoDiscoverable
- A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
Note that as with JAX-RS features, before registering new JAX-RS components in a
given configurable context, an auto-discoverable component should verify that newly registered components are not
already registered in the configurable context.
- Specified by:
configure in interface AutoDiscoverable
- Parameters:
context - configurable context in which the auto-discoverable should be configured.
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.