org.springframework.osgi.mock
Class MockFilter

java.lang.Object
  extended by org.springframework.osgi.mock.MockFilter
All Implemented Interfaces:
Filter

public class MockFilter
extends Object
implements Filter

Filter mock.

Just a no-op interface implementation.

Author:
Costin Leau

Constructor Summary
MockFilter()
           
MockFilter(String filter)
           
 
Method Summary
 boolean match(Dictionary dictionary)
           
 boolean match(ServiceReference reference)
           
 boolean matchCase(Dictionary dictionary)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.osgi.framework.Filter
equals, hashCode
 

Constructor Detail

MockFilter

public MockFilter()

MockFilter

public MockFilter(String filter)
Method Detail

match

public boolean match(ServiceReference reference)
Specified by:
match in interface Filter

match

public boolean match(Dictionary dictionary)
Specified by:
match in interface Filter

matchCase

public boolean matchCase(Dictionary dictionary)
Specified by:
matchCase in interface Filter

toString

public String toString()
Specified by:
toString in interface Filter
Overrides:
toString in class Object


Copyright © 2006-2008 Spring Framework. All Rights Reserved.