public class StatefulJResourceConfig
extends org.glassfish.jersey.server.ResourceConfig
Constructor and Description |
---|
StatefulJResourceConfig() |
StatefulJResourceConfig(Class<?>... classes)
Create a new resource configuration initialized with a given set of
resource/provider classes.
|
StatefulJResourceConfig(Set<Class<?>> classes)
Create a new resource configuration initialized with a given set of
resource/provider classes.
|
StatefulJResourceConfig(StatefulJResourceConfig original)
Create a defensive resource configuration copy initialized with a given
StatefulJResourceConfig . |
Modifier and Type | Method and Description |
---|---|
StatefulJResourceConfig |
registerAllBindings() |
StatefulJResourceConfig |
registerBindingsByPackage(String pkg) |
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
public StatefulJResourceConfig()
public StatefulJResourceConfig(Set<Class<?>> classes)
classes
- application-specific resource and/or provider classes.public StatefulJResourceConfig(Class<?>... classes)
classes
- application-specific resource and/or provider classes.public StatefulJResourceConfig(StatefulJResourceConfig original)
StatefulJResourceConfig
.original
- resource configuration to create a defensive copy from.public StatefulJResourceConfig registerAllBindings()
public StatefulJResourceConfig registerBindingsByPackage(String pkg)
Copyright © 2016. All rights reserved.