javax.ws.rs.client
Interface Feature


public interface Feature

A configurable feature.

Typically encapsulates concepts that involve multiple filters, interceptors and/or configuration properties.

Author:
Marek Potociar (marek.potociar at oracle.com)

Method Summary
 void onDisable(Configuration configuration)
          Called when the feature is disabled.
 void onEnable(Configuration configuration)
          Called when the feature is enabled.
 

Method Detail

onEnable

void onEnable(Configuration configuration)
Called when the feature is enabled. The responsibility of the feature is to properly update the supplied configuration.

Parameters:
configuration - configuration where the feature should be enabled.

onDisable

void onDisable(Configuration configuration)
Called when the feature is disabled. The responsibility of the feature is to properly update the supplied configuration.

Parameters:
configuration - configuration where the feature should be disabled.


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