[JBoss JIRA] (AS7-6656) Provide stub extensions for removed subsystem configs
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/AS7-6656?page=com.atlassian.jira.plugin.s... ]
Brian Stansberry commented on AS7-6656:
---------------------------------------
This should be fairly straightforward:
1) The Extension impls:
a) on a standalone server, throw an UnsupportedOperationException
b) on a domain server, do a no-op. Allows the extension:add to be propagated to the server, so no special handling on the HC is needed to stop that. But extension will do nothing. This works because of 2) below.
c) on an HC, register different handlers as per 2) below
2) Changes to the subsystem management operation handling
a) the "describe" handler throws an UnsupportedOperationException. So if the user configures the HC to use a profile with this subsystem on an AS 8 server, it will fail on the HC
b) Other handlers are changed to do nothing in Stage.RUNTIME. ModelOnlyWriteAttributeHandler can be used liberally. A similar class for :add and :remove can be easily written as well. That will handle the great majority of stuff.
> Provide stub extensions for removed subsystem configs
> -----------------------------------------------------
>
> Key: AS7-6656
> URL: https://issues.jboss.org/browse/AS7-6656
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management
> Reporter: Thomas Diesler
> Assignee: Brian Stansberry
> Fix For: 8.0.0.Alpha1
>
>
> Some config parser/transform functionality is needed if we don't want to break backward compatibility with AS7x configs.
> http://lists.jboss.org/pipermail/jboss-as7-dev/2013-February/007721.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (AS7-6658) Include Infinispan CDI as a JBoss module
by Avelino Martins (JIRA)
[ https://issues.jboss.org/browse/AS7-6658?page=com.atlassian.jira.plugin.s... ]
Avelino Martins commented on AS7-6658:
--------------------------------------
Hi Radoslav,
while i agree that is good practice to leave cache configuration to the container and inject it using @Resource as in your example, it doesn't hurts being able to use the related functionality provided by the infinispan-cdi module when needed.
But indeed the main reason are the JCache annotations. Supposedly, from what i have been reading, JCache is to miss JavaEE 7, and so it makes even more sense to have the module included even if it's only on the new version 8 of JBoss AS.
> Include Infinispan CDI as a JBoss module
> ----------------------------------------
>
> Key: AS7-6658
> URL: https://issues.jboss.org/browse/AS7-6658
> Project: Application Server 7
> Issue Type: Enhancement
> Components: Clustering
> Reporter: Avelino Martins
> Assignee: Radoslav Husar
> Fix For: 8.0.0.Alpha1
>
>
> CDI has become an invaluable technology on any JavaEE project. I find hard to justify having to include infinispan-cdi as a compile dependency on every project that uses ISPN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months