Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
3 Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: SpringRuntime
-
Labels:None
-
Fix In Branch:trunk
-
Terracotta Target:Pending
-
LOE:1
Description
We should allow to assign aliases for the application contexts. So, such alias will be used to identify roots created for the Spring's application contexts in place where we using "synthetic id" now.
That would also allow us to share bean instances from different apps (even between standalone app and one running in tomcat) as long as they using the same aliases.
To support that we'll need to add an "alias" attribute to <application-context> element in Spring config:
<application>
<spring>
<jee-application name="*">
<application-contexts>
<application-context alias="clusteredServices">
<paths>
<path>*/context.xml</path>
</paths>
<beans>
<bean name="master" />
<bean name="queue" />
</beans>
</application-context>
</application-contexts>
</jee-application>
</spring>
</application>
That is very simple but important addition and will only affect how we create name for the roots.
Issue Links
- is related to
-
CDV-112
Sharing classes between different class loaders
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | New [ 10000 ] | Open [ 1 ] |
| Target | unknown | Lawton |
| Assignee | Defect Review Board [ drb ] | Product Management [ prodmgmt ] |
| Assignee | Product Management [ prodmgmt ] | Defect Review Board [ drb ] |
| Target | Lawton | Moraga |
| Assignee | Defect Review Board [ drb ] | Modules Team [ modules ] |
| Workflow | Terracotta +In Progress [ 22930 ] | InProgress_updatedREsolved [ 26013 ] |
| Summary | App context id aliases | Option to specify DSO root names for matching Spring App context |
| Workflow | InProgress_updatedREsolved [ 26013 ] | Internal InProgress_Updated_Resolved [ 27808 ] |
| Target | Moraga | unknown |
| Target | unknown | pending |
| Target | pending | Noriega |
| Assignee | Modules Team [ modules ] | Eugene Kuleshov [ ekulesho ] |
| Target | Noriega | Moraga |
| Component/s | SpringRuntime [ 10248 ] | |
| Fix In Branch | [main] | |
| Component/s | SpringRuntime [ 10124 ] | |
| Workflow | Internal InProgress_Updated_Resolved [ 27808 ] | External InProgress_Updated_Resolved [ 32058 ] |
| Project | Development [ 10030 ] | Community Development [ 10172 ] |
| Key | LKC-2816 | CDV-81 |
| Assignee | Eugene Kuleshov [ ekulesho ] | Nathaniel Harward [ nharward ] |
| Due Date | 2007-03-08 00:00:00.0 |
| Assignee | Nathaniel Harward [ nharward ] | Eugene Kuleshov [ ekulesho ] |
| Attachment | errors.txt [ 10970 ] |
| Due Date | 2007-03-08 00:00:00.0 | |
| Target | Moraga | Noriega |
| Assignee | Eugene Kuleshov [ ekulesho ] | Product Management [ prodmgmt ] |
| Fix In Branch | [trunk] |
| Target | Noriega | Ortega |
| Workflow | External InProgress_Updated_Resolved [ 32058 ] | External_20070604 [ 46651 ] |
| Target | Ortega | Pacheco |
| Link | This issue PRD RMP-146 [ RMP-146 ] |
| Target | Pacheco | pending |
| Target | pending | Pacheco |
| Priority | 2 Major [ 3 ] | 1 Critical [ 2 ] |
| Comment | [ A comment with security level 'Terracotta_Internal' was removed. ] |
| Priority | 1 Critical [ 2 ] | 3 Minor [ 4 ] |
| Workflow | External_20070604 [ 46651 ] | External_20080225 [ 50631 ] |
| Target | Pacheco | pending |
| Workflow | External_20080225 [ 50631 ] | Public_workflow_20090225 [ 63046 ] |
| Terracotta Target | [Pending] |
| Workflow | Public_workflow_20090225 [ 63046 ] | ExternalProjectWorkflow_201208 [ 86259 ] |
| Workflow | ExternalProjectWorkflow_201208 [ 86259 ] | ExternalProjectWorkflow_201210 [ 95224 ] |
| Workflow | ExternalProjectWorkflow_201210 [ 95224 ] | ExternalProjectWorkflow 201210 [ 98599 ] |