|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.opstring.OpStringFilter
public class OpStringFilter
Filter for matching opstring names
| Constructor Summary | |
|---|---|
OpStringFilter(String opStringName)
Create an OpStringFilter |
|
| Method Summary | |
|---|---|
boolean |
check(ServiceItem item)
If the input ServiceItem has an OperationalStringEntry and the name matches
the opStringName property of this class, then return
true
Additionally, if the input ServiceItem does not have the
OperationalStringEntry in it's attribute set,
return true. |
static OperationalStringEntry |
getOperationalStringEntry(Entry[] attrs)
Gets first OperationalStringEntry from attribute array |
static boolean |
matches(Entry[] attrs,
String opStringName)
Determine if the attribute collecton contains an OperatonalStringEntry which matches the opStrngName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpStringFilter(String opStringName)
opStringName - The name of the OperationalString to filter| Method Detail |
|---|
public boolean check(ServiceItem item)
OperationalStringEntry and the name matches
the opStringName property of this class, then return
true
Additionally, if the input ServiceItem does not have the
OperationalStringEntry in it's attribute set,
return true. This supports intended semantics to discover
external services which may match the
ServiceTemplate
check in interface ServiceItemFilterServiceItemFilter.check(net.jini.core.lookup.ServiceItem)
public static boolean matches(Entry[] attrs,
String opStringName)
attrs - Array of Entry objectsopStringName - The name to match
opStringName parameter, return true,
otherwise, return falsepublic static OperationalStringEntry getOperationalStringEntry(Entry[] attrs)
attrs - Array of Entry objects
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||