static java.util.Set<WeavingData> |
ConsumerHeaderProcessor.processHeader(java.lang.String consumerHeaderName,
java.lang.String consumerHeader)
Parses headers of the following syntax:
org.acme.MyClass#myMethod - apply the weaving to all overloads of myMethod()
in MyClass
org.acme.MyClass#myMethod(java.lang.String, java.util.List) - apply the weaving only
to the myMethod(String, List) overload in MyClass
org.acme.MyClass#myMethod() - apply the weaving only to the noarg overload of
myMethod()
true - equivalent to java.util.ServiceLoader#load(java.lang.Class)
Additionally, it registers the consumer's constraints with the consumer registry in the activator, if the
consumer is only constrained to a certain set of bundles.
|