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 ofAdapter
for rest based monitoring. It extends fromAbstractProxyRestAdapter
that uses a handle-body idiom. The handle implements methods that are metadata/configuration based. The body implements methods that require REST subsystem.- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description ProxyRestMonitoringAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Config
getConfig()
String
getContextRoot()
Context root this adapter is responsible for handling.protected String
getName()
protected org.glassfish.hk2.api.ServiceLocator
getServices()
-
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:
getServices
in classAbstractProxyRestAdapter
-
getConfig
protected Config getConfig()
- Specified by:
getConfig
in classAbstractProxyRestAdapter
-
getName
protected String getName()
- Specified by:
getName
in classAbstractProxyRestAdapter
-
getContextRoot
public String getContextRoot()
Description copied from class:AbstractProxyRestAdapter
Context root this adapter is responsible for handling.- Specified by:
getContextRoot
in interfaceAdapter
- Specified by:
getContextRoot
in classAbstractProxyRestAdapter
- Returns:
- context root
-
-