[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: AW: [sca-j] ISSUE 4 - Dependency reinjection
Effect on
| |||
Change Event
|
Reference
|
Existing ServiceReference
Object
|
Subsequent Invocations of
ComponentContext.
getServiceReference() or cast() |
Change to the Target of a Reference | MAY be reinjected (if other conditions
apply). If not reinjected, then it MUST continue to work as if the reference target was not changed. | MUST continue to work as if the reference target was not changed. | Result corresponds to the injected
reference (i.e. changed only if reinjection occurred). |
Targeted Service Undeployed
Target Service becomes Unavailable | Business methods SHOULD throw InvalidServiceException. | Business methods SHOULD throw InvalidServiceException. | Result SHOULD be a reference to the undeployed service. Business methods SHOULD throw InvalidServiceException. |
Targeted Service Changed | MAY continue to work, depending on the runtime and the type of change that was made. If it doesn't work, the exception thrown will depend on the runtime and the cause of the failure. | MAY continue to work, depending on the runtime and the type of change that was made. If it doesn't work, the exception thrown will depend on the runtime and the cause of the failure. | Result SHOULD be a reference to the changed service. |
"Reza Shafii"
<rshafii@bea.com>
04/01/2008 22:19 |
|
Unless stated otherwise above:
IBM United
Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]