|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glassfish.hk2.internal.SpecificFilterImpl
public class SpecificFilterImpl
This is a filter that matches an exact descriptor
Constructor Summary | |
---|---|
SpecificFilterImpl(String contract,
String name,
long id,
long locatorId)
|
Method Summary | |
---|---|
String |
getAdvertisedContract()
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()
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)
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 |
---|
public SpecificFilterImpl(String contract, String name, long id, long locatorId)
Method Detail |
---|
public boolean matches(Descriptor d)
Filter
matches
in interface Filter
d
- The object to match against
this filter. May not be null
public String getAdvertisedContract()
IndexedFilter
getAdvertisedContract
in interface IndexedFilter
public String getName()
IndexedFilter
getName
in interface IndexedFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |