org.glassfish.admin.rest
Interface LazyJerseyInterface
- All Known Implementing Classes:
- LazyJerseyInit
public interface LazyJerseyInterface
- Author:
- ludo
|
Method Summary |
com.sun.grizzly.tcp.http11.GrizzlyAdapter |
exposeContext(java.util.Set classes,
ServerContext sc,
org.jvnet.hk2.component.Habitat habitat)
Called via introspection in the RestAdapter service() method only when the GrizzlyAdapter is not initialized |
java.util.Set<java.lang.Class<?>> |
getResourcesConfigForManagement(org.jvnet.hk2.component.Habitat habitat)
|
java.util.Set<java.lang.Class<?>> |
getResourcesConfigForMonitoring(org.jvnet.hk2.component.Habitat habitat)
|
RestConfig |
getRestConfig(org.jvnet.hk2.component.Habitat habitat)
|
void |
reportError(com.sun.grizzly.tcp.http11.GrizzlyRequest req,
com.sun.grizzly.tcp.http11.GrizzlyResponse res,
int statusCode,
java.lang.String msg)
|
exposeContext
com.sun.grizzly.tcp.http11.GrizzlyAdapter exposeContext(java.util.Set classes,
ServerContext sc,
org.jvnet.hk2.component.Habitat habitat)
throws EndpointRegistrationException
- Called via introspection in the RestAdapter service() method only when the GrizzlyAdapter is not initialized
- Parameters:
classes - set of Jersey Resources classessc - the current ServerContext, needed to find the correct classpath
- Returns:
- the correct GrizzlyAdapter
- Throws:
EndpointRegistrationException
getRestConfig
RestConfig getRestConfig(org.jvnet.hk2.component.Habitat habitat)
reportError
void reportError(com.sun.grizzly.tcp.http11.GrizzlyRequest req,
com.sun.grizzly.tcp.http11.GrizzlyResponse res,
int statusCode,
java.lang.String msg)
getResourcesConfigForMonitoring
java.util.Set<java.lang.Class<?>> getResourcesConfigForMonitoring(org.jvnet.hk2.component.Habitat habitat)
getResourcesConfigForManagement
java.util.Set<java.lang.Class<?>> getResourcesConfigForManagement(org.jvnet.hk2.component.Habitat habitat)
Copyright © 2012 GlassFish Community. All Rights Reserved.