@ConsumerType public interface WovenClassListener
Bundles registering this service will receive notifications whenever a
woven class completes a
state transition. Woven Class Listeners are not able to modify the woven
class in contrast with
Receiving a woven class in the
state allows listeners to observe the modified
byte codes before the class has been
well as the additional
bundle wiring has been
Woven class listeners are synchronously
when a woven class completes a state transition. The woven class processing
will not proceed until all woven class listeners are done.
If the Java runtime environment supports permissions, the caller must have
ServicePermission[WovenClassListener,REGISTER] in order to register a
void modified(WovenClass wovenClass)
woven classhas completed a state transition.
If this method throws any exception, the Framework must log the exception but otherwise ignore it.
wovenClass- The woven class that completed a state transition.
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0