The OSGi service property key for saving the generic types expression.
Converts the given Scala Map to a Java Dictionary.
Converts the given Java Dictionary to a Scala Map.
Creates a filter criteria expression which matches the given main type, the generic type and the given custom filter.
Creates a filter criteria expression which matches the given main type, the generic type and the given custom filter.
Thus, it includes the main OBJECTCLASS
filter criteria.
Type information
A custom filter expression
Creates a filter criteria expression which matches the given type and the given custom filter.
Creates a filter criteria expression which matches the given type and the given custom filter.
Doesn't include the main OBJECTCLASS
filter criteria. If no custom filter is given and
generic types are not used, returns None
.
Type information
A custom filter expression
Creates an expression which describes the complete type information of the given types including generic type parameters.
Creates an expression which describes the complete type information of the given types
including generic type parameters. If none of the given types contains type parameters,
it returns None
.
The resulting expression is supposed to be registered as OSGi service property so it can be used as a criteria in a service query.
Example input:
Map[String, Map[String, Integer]]
List[Number]
String
Example result: ";Map[String, Map[String, Integer]];List[Number];String;"
(package names omitted)
Type objects which might contain information about generic type arguments
types expression if generic type parameters are used
A semicolon is used instead of a comma to separate the types.
Creates a filter expression that would match the given type with its generic type parameters.
Creates a filter expression that would match the given type with its generic type parameters. Uses wildcards because the service can be registered under several types. That would result in several generic type expressions separated by semicolon.
If no generic type is used in the type, returns None
.
Creates an OBJECTCLASS
filter for the given class.
Returns the qualified name of the given type.
Returns whether the given type tag has type parameters.
Links to filter expressions with a logical AND if both are given, otherwise returns just one of it.
Links to filter expressions with a logical AND if both are given, otherwise returns just one of it.
First filter
Second filter
result
Contains utility methods used throughout Domino.