[jboss-jira] [JBoss JIRA] (AS7-2945) Change the domain model paths system to not use services
David Lloyd (Created) (JIRA)
jira-events at lists.jboss.org
Wed Dec 7 13:31:40 EST 2011
Change the domain model paths system to not use services
--------------------------------------------------------
Key: AS7-2945
URL: https://issues.jboss.org/browse/AS7-2945
Project: Application Server 7
Issue Type: Enhancement
Components: Domain Management
Reporter: David Lloyd
Assignee: Brian Stansberry
Fix For: Open To Community
Using services for path references has two distinct disadvantages:
* It makes it difficult or impossible to detect changes (the only way to change a path is to restart the service)
* If a path consumer is not a service, it is difficult to use path values
What we should have instead is have a registration mechanism so that when a path is used, the reference is tracked in the model. This lets us detect backreferences in the event where a path is to be deleted. This would also enable us to send a notification when a path is changed, so that changing a path also causes an update or "refresh" on all referencing domain attributes. This way, for example, if I change the base path for the log directory, all the log handlers can automatically be updated as well as part of the same operation, using their existing update logic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list