com.ibm.wsspi.kernel.service.utils

Class FilterUtils

  • java.lang.Object
    • com.ibm.wsspi.kernel.service.utils.FilterUtils


  • public class FilterUtils
    extends java.lang.Object
    Utilities for working with OSGi filters.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FilterUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String createPropertyFilter(java.lang.String name, java.lang.String value)
      Creates a filter string that matches an attribute value exactly.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterUtils

        public FilterUtils()
    • Method Detail

      • createPropertyFilter

        public static java.lang.String createPropertyFilter(java.lang.String name,
                                                            java.lang.String value)
        Creates a filter string that matches an attribute value exactly. Characters in the value with special meaning will be escaped.
        Parameters:
        name - a valid attribute name
        value - the exact attribute value