org.jvnet.hk2.deprecated.internal
Class MetadataIndexFilter

java.lang.Object
  extended by org.jvnet.hk2.deprecated.internal.MetadataIndexFilter
All Implemented Interfaces:
Filter, IndexedFilter

Deprecated.

@Deprecated
public class MetadataIndexFilter
extends Object
implements IndexedFilter

Author:
jwells

Constructor Summary
MetadataIndexFilter(Class<?> c, Map<String,List<String>> multiMap)
          Deprecated.  
 
Method Summary
 String getAdvertisedContract()
          Deprecated. If this returns non-null then this index will be used to limit the set of Descriptors that will be passed to the matches method.
 String getName()
          Deprecated. If this returns non-null then this name will be used to limit the set of Descriptors that will be passed to the matches method.
 boolean matches(Descriptor d)
          Deprecated. Returns true if this filter matches the given object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataIndexFilter

public MetadataIndexFilter(Class<?> c,
                           Map<String,List<String>> multiMap)
Deprecated. 
Parameters:
c -
multiMap -
Method Detail

matches

public boolean matches(Descriptor d)
Deprecated. 
Description copied from interface: Filter
Returns true if this filter matches the given object

Specified by:
matches in interface Filter
Parameters:
d - The object to match against this filter. May not be null
Returns:
true if this filter matches the object

getAdvertisedContract

public String getAdvertisedContract()
Deprecated. 
Description copied from interface: IndexedFilter
If this returns non-null then this index will be used to limit the set of Descriptors that will be passed to the matches method. Only those descriptors that have an AdverisedContract of this value will be passed to the matches method.

Specified by:
getAdvertisedContract in interface IndexedFilter
Returns:
If non null this will limit the descriptors passed to the matches method to those that have this contract in their set of advertised contracts

getName

public String getName()
Deprecated. 
Description copied from interface: IndexedFilter
If this returns non-null then this name will be used to limit the set of Descriptors that will be passed to the matches method. Only those descriptors that has an name of this value will be passed to the matches method.

Specified by:
getName in interface IndexedFilter
Returns:
If non null this will limit the descriptors passed to the matches method to those that have name


Copyright © 2013 Oracle Corporation. All Rights Reserved.