Interface ConfigurationContext

    • Method Detail

      • setStringProperty

        void setStringProperty​(String name,
                               String value)
        Adds the specified service property.
        Parameters:
        name - Property name.
        value - Property value (must be not-null and not empty).
      • setIntProperty

        void setIntProperty​(String name,
                            int value)
        Adds the specified service property.
        Parameters:
        name - Property name.
        value - Property value.
      • setLongProperty

        void setLongProperty​(String name,
                             long value)
        Adds the specified service property.
        Parameters:
        name - Property name.
        value - Property value.
      • setBoolProperty

        void setBoolProperty​(String name,
                             boolean value)
        Adds the specified service property.
        Parameters:
        name - Property name.
        value - Property value.
      • findComponents

        <T> Collection<T> findComponents​(Class<T> type)
        Searches for all components of the specified type.
        Type Parameters:
        T - Component type.
        Parameters:
        type - Component type.
        Returns:
        Collections of matching components of an empty collection if there are no such components.