com.bigdata.service.jini.master
Class ServicesTemplate
java.lang.Object
com.bigdata.service.jini.master.ServicesTemplate
- All Implemented Interfaces:
- Serializable
public class ServicesTemplate
- extends Object
- implements Serializable
A template for matching some number and type of services.
- Version:
- $Id$
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
|
Field Summary |
net.jini.lookup.ServiceItemFilter |
filter
An optional filter to be applied. |
int |
minMatches
The minimum #of services to be matched. |
net.jini.core.lookup.ServiceTemplate |
template
The template to be matched. |
|
Constructor Summary |
ServicesTemplate(int minMatches,
net.jini.core.lookup.ServiceTemplate template,
net.jini.lookup.ServiceItemFilter filter)
|
minMatches
public final int minMatches
- The minimum #of services to be matched.
template
public final net.jini.core.lookup.ServiceTemplate template
- The template to be matched.
filter
public final net.jini.lookup.ServiceItemFilter filter
- An optional filter to be applied.
ServicesTemplate
public ServicesTemplate(int minMatches,
net.jini.core.lookup.ServiceTemplate template,
net.jini.lookup.ServiceItemFilter filter)
- Parameters:
minMatches - The minimum #of services to be matched.template - The template to be matched.filter - An optional filter.
- Throws:
IllegalArgumentException - if minMatches is LT zero.
IllegalArgumentException - if template is null.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.