|summary:||We have made it configurable as to what minimum state a module should be in for additional resources to be looked up in a module by punch-in facility of API class loader.|
|date:||2012-04-11 01:58:44 UTC (2 years)|
|message:||We have made it configurable as to what minimum state a module should be in for additional
resources to be looked up in a module by punch-in facility of API class loader.
This is controlled by a system property called glassfish.kernel.apicl.punchin.module.state.
To maintain old behavior, by default, it selects form all modules.
We should change this to select from atleast RESOLVED modules after doing necessary testing.
This can be achieved by setting following system property:
There are around 27 modules in GlassFish that contains META-INF/services, and we are not sure
all of them in at least RESOLVED state when their respective services are loked up.
When we change the default policy, if we find issues, we have to implement appropriate
Sniffers so that they can load correct modules before META-INF/services from them are looked up.
e.g. web-sse sniffer setting up web-sse module when it detects application is using sse apis.