Uses of Class
org.glassfish.jersey.model.ContractProvider
-
Packages that use ContractProvider Package Description org.glassfish.jersey.model Common Jersey model related classes and interfaces.org.glassfish.jersey.model.internal Common Jersey internal model related classes and interfaces.org.glassfish.jersey.spi Common Jersey service provider contract (SPI) classes. -
-
Uses of ContractProvider in org.glassfish.jersey.model
Methods in org.glassfish.jersey.model that return ContractProvider Modifier and Type Method Description ContractProviderContractProvider.Builder. build()Build a new contract provider model.Methods in org.glassfish.jersey.model with parameters of type ContractProvider Modifier and Type Method Description static ContractProvider.BuilderContractProvider. builder(ContractProvider original)Create new contract provider model builder from an existing one. -
Uses of ContractProvider in org.glassfish.jersey.model.internal
Fields in org.glassfish.jersey.model.internal with type parameters of type ContractProvider Modifier and Type Field Description static Predicate<ContractProvider>ComponentBag. BINDERS_ONLYA filtering strategy that includes only models that containBinderprovider contract.static Predicate<ContractProvider>ComponentBag. EXCLUDE_EMPTYA filtering strategy that excludes models with no recognized contracts.static Predicate<ContractProvider>ComponentBag. EXECUTOR_SERVICE_PROVIDER_ONLYA filtering strategy that includes only models that containExecutorServiceProviderprovider contract.static BiPredicate<ContractProvider,org.glassfish.jersey.internal.inject.InjectionManager>ComponentBag. EXTERNAL_ONLYA filtering strategy that includes only models that contain contract registrable byInjectionManager.static Predicate<ContractProvider>ComponentBag. INCLUDE_ALLA filtering strategy that accepts any contract provider model.static Predicate<ContractProvider>ComponentBag. SCHEDULED_EXECUTOR_SERVICE_PROVIDER_ONLYA filtering strategy that includes only models that containScheduledExecutorServiceProviderprovider contract.Methods in org.glassfish.jersey.model.internal that return ContractProvider Modifier and Type Method Description ContractProviderComponentBag. getModel(Class<?> componentClass)Get a model for a given component class, ornullif no such component is registered in the component bag.static ContractProviderComponentBag. modelFor(Class<?> componentClass)Create a contract provider model by introspecting a component class.Methods in org.glassfish.jersey.model.internal that return types with arguments of type ContractProvider Modifier and Type Method Description static Predicate<ContractProvider>ComponentBag. excludeMetaProviders(org.glassfish.jersey.internal.inject.InjectionManager injectionManager)A method creates thePredicatewhich is able to filter all Jersey meta-providers along with the components which is able to register the current usedInjectionManager.protected Inflector<ContractProvider.Builder,ContractProvider>CommonConfig. getModelEnhancer(Class<?> componentClass)An extension point that provides a way how to define a custom enhancement/update operation of a contract provider model registration being produced for a given component class.Method parameters in org.glassfish.jersey.model.internal with type arguments of type ContractProvider Modifier and Type Method Description Set<Class<?>>ComponentBag. getClasses(Predicate<ContractProvider> filter)Get a subset of all registered component classes using thefilterpredicate to determine for each component class based on it's contract provider class model whether it should be kept or filtered out.Set<Object>ComponentBag. getInstances(Predicate<ContractProvider> filter)Get a subset of all registered component instances using thefilterpredicate to determine for each component instance based on it's contract provider class model whether it should be kept or filtered out.static ComponentBagComponentBag. newInstance(Predicate<ContractProvider> registrationStrategy)Create new empty component bag.booleanComponentBag. register(Class<?> componentClass, int priority, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component class as a contract provider with an explicitly specified binding priority.booleanComponentBag. register(Class<?> componentClass, Map<Class<?>,Integer> contracts, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component class as a contract provider for the specified contracts.booleanComponentBag. register(Class<?> componentClass, Set<Class<?>> contracts, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component class as a contract provider for the specified contracts.booleanComponentBag. register(Class<?> componentClass, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component class using a given registration strategy.booleanComponentBag. register(Object component, int priority, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component as a contract provider with an explicitly specified binding priority.booleanComponentBag. register(Object component, Map<Class<?>,Integer> contracts, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component as a contract provider for the specified contracts.booleanComponentBag. register(Object component, Set<Class<?>> contracts, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component as a contract provider for the specified contracts.booleanComponentBag. register(Object component, Inflector<ContractProvider.Builder,ContractProvider> modelEnhancer)Register a component using a given registration strategy.Constructor parameters in org.glassfish.jersey.model.internal with type arguments of type ContractProvider Constructor Description CommonConfig(RuntimeType type, Predicate<ContractProvider> registrationStrategy)Create a newRuntimeConfiginstance. -
Uses of ContractProvider in org.glassfish.jersey.spi
Methods in org.glassfish.jersey.spi with parameters of type ContractProvider Modifier and Type Method Description default booleanComponentProvider. bind(Class<?> component, ContractProvider contractProvider)Jersey will invoke this method before binding of each component class internally during initialization of it's injection manager.
-