Class ProxyRestMonitoringAdapter
- java.lang.Object
-
- org.glassfish.admin.restconnector.AbstractProxyRestAdapter
-
- org.glassfish.admin.restconnector.ProxyRestMonitoringAdapter
-
- All Implemented Interfaces:
Adapter
@Service public class ProxyRestMonitoringAdapter extends AbstractProxyRestAdapter
Implementation ofAdapterfor rest based monitoring. It extends fromAbstractProxyRestAdapterthat uses a handle-body idiom. The handle implements methods that are metadata/configuration based. The body implements methods that require REST subsystem.- Author:
- Sanjeeb.Sahoo@Sun.COM
-
-
Constructor Summary
Constructors Constructor Description ProxyRestMonitoringAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfiggetConfig()StringgetContextRoot()Context root this adapter is responsible for handling.protected StringgetName()protected org.glassfish.hk2.api.ServiceLocatorgetServices()-
Methods inherited from class org.glassfish.admin.restconnector.AbstractProxyRestAdapter
getHttpService, getListenAddress, getListenPort, getVirtualServers, isRegistered, setRegistered
-
-
-
-
Method Detail
-
getServices
protected org.glassfish.hk2.api.ServiceLocator getServices()
- Specified by:
getServicesin classAbstractProxyRestAdapter
-
getConfig
protected Config getConfig()
- Specified by:
getConfigin classAbstractProxyRestAdapter
-
getName
protected String getName()
- Specified by:
getNamein classAbstractProxyRestAdapter
-
getContextRoot
public String getContextRoot()
Description copied from class:AbstractProxyRestAdapterContext root this adapter is responsible for handling.- Specified by:
getContextRootin interfaceAdapter- Specified by:
getContextRootin classAbstractProxyRestAdapter- Returns:
- context root
-
-