javax.ws.rs.ext
Interface DynamicBinding


public interface DynamicBinding

A filter or interceptor that implements this interface supports dynamic binding. Dynamic binding is supported only as part of the server API. Regardless of whether a filter or interceptor is bound globally or bound via an annotation derived from NameBinding, this interface will be used to determine if it applies to a particular resource class and method.

Since:
2.0
Author:
Santiago Pericas-Geertsen, Bill Burke
See Also:
NameBinding

Method Summary
 boolean isBound(Class<?> type, Method method)
          Determine if this filter or interceptor applies to a particular resource class and method.
 

Method Detail

isBound

boolean isBound(Class<?> type,
                Method method)
Determine if this filter or interceptor applies to a particular resource class and method.

Parameters:
type - resource class
method - resource method
Returns:
true if it applies, false otherwise


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