Details
Description
It would be useful to have the concept of an assembly scope in deployer, just like the rest of NanoContainer's deployment scripts. So a deployer's script could be:
pico = builder.container(parent:parent) {
if (assemblyScope instanceof javax.servlet.ServletContext)
}
The ramifications of how this would integrate with NanoWAR still haven't been thought through, but since the Deployer API doesn't support an assembly scope, it would be good feature-wise to keep it up with the rest of NanoContainer.
My only real concern is that it would change the actual Deployer Interface. This could be backwards compatible by having deploy() and deploy(Object assemblyScope).
Activity
Michael Rimov
made changes -
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Fix Version/s | 1.1 [ 12307 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fixed. There is now a depracated API that doesn't include deployment scope.