Package org.glassfish.admin.rest.adapter
Interface RestResourceProvider
-
- All Known Implementing Classes:
AbstractRestResourceProvider
,RestCommandResourceProvider
,RestManagementResourceProvider
,RestMonitoringResourceProvider
public interface RestResourceProvider
Represents contract betweenRestAdapter
and actual ReST resource providers.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
enableModifAccessToInstances()
If resource can provide access for non-GET methods.String
getContextRoot()
Set<Class<?>>
getResourceClasses(org.glassfish.hk2.api.ServiceLocator habitat)
org.glassfish.jersey.server.ResourceConfig
getResourceConfig(Set<Class<?>> classes, ServerContext sc, org.glassfish.hk2.api.ServiceLocator habitat, Set<? extends org.glassfish.hk2.utilities.Binder> additionalBinders)
-
-
-
Method Detail
-
enableModifAccessToInstances
boolean enableModifAccessToInstances()
If resource can provide access for non-GET methods. By default - NO.
-
getResourceConfig
org.glassfish.jersey.server.ResourceConfig getResourceConfig(Set<Class<?>> classes, ServerContext sc, org.glassfish.hk2.api.ServiceLocator habitat, Set<? extends org.glassfish.hk2.utilities.Binder> additionalBinders) throws EndpointRegistrationException
- Throws:
EndpointRegistrationException
-
getContextRoot
String getContextRoot()
-
-