org.glassfish.jersey.client
Class CustomProvidersFeature

java.lang.Object
  extended by org.glassfish.jersey.client.CustomProvidersFeature
All Implemented Interfaces:
Feature

public class CustomProvidersFeature
extends java.lang.Object
implements Feature

Feature to provide the single-line registration of custom providers.

Author:
Stepan Kopriva (stepan.kopriva at oracle.com)

Constructor Summary
CustomProvidersFeature(java.util.Collection<java.lang.Class<?>> providers)
          Constructs Feature which is used to register providers as providers in Configuration.
 
Method Summary
 boolean configure(Configurable configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomProvidersFeature

public CustomProvidersFeature(java.util.Collection<java.lang.Class<?>> providers)
Constructs Feature which is used to register providers as providers in Configuration.

Parameters:
providers - collection of providers which are going to be registered
Method Detail

configure

public boolean configure(Configurable configuration)
Specified by:
configure in interface Feature


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.