Class ExpressionFilterFactoryImpl
- java.lang.Object
-
- org.apache.unomi.scripting.internal.ExpressionFilterFactoryImpl
-
- All Implemented Interfaces:
EventListener
,ExpressionFilterFactory
,org.osgi.framework.BundleListener
public class ExpressionFilterFactoryImpl extends Object implements ExpressionFilterFactory, org.osgi.framework.BundleListener
-
-
Constructor Summary
Constructors Constructor Description ExpressionFilterFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bundleChanged(org.osgi.framework.BundleEvent event)
void
destroy()
ExpressionFilter
getExpressionFilter(String filterCollection)
Retrieve an expression filter for the specified filterCollection identifier.void
init()
void
setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
init
public void init()
-
destroy
public void destroy()
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interfaceorg.osgi.framework.BundleListener
-
getExpressionFilter
public ExpressionFilter getExpressionFilter(String filterCollection)
Description copied from interface:ExpressionFilterFactory
Retrieve an expression filter for the specified filterCollection identifier.- Specified by:
getExpressionFilter
in interfaceExpressionFilterFactory
- Parameters:
filterCollection
- a filter collection identifier, typically something like "mvel", "ognl"- Returns:
- an instance of a ExpressionFilter with the configuration retrieved for the specified collection identifier
-
-