public interface AssociationMatchFilter extends Serializable
AssociationDescriptorrequirements can be met by a
ServiceItem. Entities requiring the application of specific criteria to determine association matching should construct an implementation of this interface that defines the additional criteria.
The filtering mechanism provided by implementations of this interface is particularly useful to entities that wish to extend the capabilities of the standard association matching scheme. For example, because association matching does not allow one to match services based on specific attribute values, this additional matching mechanism can be exploited by the entity to match on specific service configuration attributes.
boolean check(AssociationDescriptor descriptor, net.jini.core.lookup.ServiceItem serviceItem)
AssociationDescriptorthat defines the association.
ServiceItemthat will be checked
ServiceElementmatches the requirements of the
Copyright © 2007–2018 Rio Project. All rights reserved.