com.bigdata.service.jini.lookup
Class DataServiceFilter

java.lang.Object
  extended by com.bigdata.service.jini.lookup.DataServiceFilter
All Implemented Interfaces:
Serializable, net.jini.lookup.ServiceItemFilter

public class DataServiceFilter
extends Object
implements net.jini.lookup.ServiceItemFilter, Serializable

Filter rejects items that implement IMetadataService so as to only select those IDataServices that are being used as data services rather than metadata services.

Version:
$Id$
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
static DataServiceFilter INSTANCE
           
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
protected DataServiceFilter()
          Use INSTANCE if there are no other constraints.
 
Method Summary
 boolean check(net.jini.core.lookup.ServiceItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final transient org.apache.log4j.Logger log

INSTANCE

public static final transient DataServiceFilter INSTANCE
Constructor Detail

DataServiceFilter

protected DataServiceFilter()
Use INSTANCE if there are no other constraints.

Method Detail

check

public boolean check(net.jini.core.lookup.ServiceItem item)
Specified by:
check in interface net.jini.lookup.ServiceItemFilter
Returns:
true if the item is an IDataService that does NOT implement the IMetadataService interface.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.