[JBoss JIRA] Created: (SHRINKWRAP-85) Support Event/Listener style callbacks
by Aslak (JIRA)
Support Event/Listener style callbacks
--------------------------------------
Key: SHRINKWRAP-85
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-85
Project: ShrinkWrap
Issue Type: Feature Request
Reporter: Aslak
A interesting featre would be to beablt to add listeners for events on ContainerTypes or paths.
/META-INF/* or all events generated via ClassContainer
usecase 1, if/when we add something like a ManifestDescriptor, instead of having it like the WebArchiveDescriptor.addServlet, adding a addMenifestLibrary that delegates down to addLibrary and update the 'classpath: ' manifest entry.. we could register a listener on the LibraryContainer and get callbacks when a 'normal' addLibrary happens
usecase 2, could deploy a 'live' archive to embedded.. one could register a listener on all changes in the archive and auto redeploy it on events..
deploy it once, redeploy on change
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (SHRINKWRAP-47) Design a way to handle multiple 'linked' Descriptor files
by Aslak (JIRA)
Design a way to handle multiple 'linked' Descriptor files
---------------------------------------------------------
Key: SHRINKWRAP-47
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-47
Project: ShrinkWrap
Issue Type: Feature Request
Reporter: Aslak
Assignee: Andrew Lee Rubinger
When working with Archive Descriptors, doing a single web.xml is easy.
But when we move over to the container specific descriptors where some of the info in the 'auto' generated web.xml
will be needed to map something together in the jboss-web.xml.
ie:
web.xml -> resource-ref -> res-ref-name
jboss-web.xml -> resource-ref -> res-ref-name + jndi-name
The point being some of the info in web.xml is needed to create the jboss-web.xml.
Is there a way to link/automate this descriptor creation, so that the user avoid having to 'manually' add them both places.
ie:
desc = new WebArchiveDescriptor(JbossWebDescriptor, GlassfishWebDescriptor);
desc.addResourceRef(DataSource, Name, JndiName) {
this.addResourceRef(DataSource, Name);
JbossWebDescriptor.add(Name, JndiName);
GlassfishWebDescriptor.add(Name, JndiName);
}
I do realize that JNDI names could be a bad example, since in the old versions they were all container specific and in the new version they are standardized and not needed, but I'm sure there are other usecases...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months