org.glassfish.jersey.model
Interface NameBound

All Known Implementing Classes:
ContractProvider, ResourceMethod

public interface NameBound

Model component that can be name bound. A component implementing this interface provides additional information about the name bindings attached to it.

Author:
Martin Matula (martin.matula at oracle.com)
See Also:
NameBinding

Method Summary
 Collection<Class<? extends Annotation>> getNameBindings()
          Get the collection of name bindings attached to this component.
 boolean isNameBound()
          Check if the component is bound or not.
 

Method Detail

isNameBound

boolean isNameBound()
Check if the component is bound or not.

Returns:
true if the component is bound, false otherwise.

getNameBindings

Collection<Class<? extends Annotation>> getNameBindings()
Get the collection of name bindings attached to this component.

Returns:
collection of name binding annotation types.


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.