Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.gemini.blueprint.mock
Class MockFrameworkUtil

    java.lang.Object
      org.eclipse.gemini.blueprint.mock.MockFrameworkUtil

    public class MockFrameworkUtil

extends Object

FrameworkUtil-like class that tries to create a somewhat valid filter. Filters objects can be created without an actual OSGi platform running however, the default OSGi implementation delegates the creation to the package indicated by "org.osgi.vendor.framework" property. In its current implementation, this class requires one of Equinox, Knoplerfish or Felix on its classpath to create the filter object.

Author:
  Costin Leau

Method Summary
`Filter` | `createFilter(String filter)` Create a mock filter that is _might_ be valid.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### createFilter

    public Filter createFilter(String filter)

  Create a mock filter that is _might_ be valid. This method does not throw an checked exception and will always return a filter implementation.

  Parameters:
    `filter` - OSGi filter given as a String.
  Returns:
    actual OSGi filter using the underlying OSGi platform

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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