Date: 2004-06-24T07:00:01
Editor: 200.69.248.193 <>
Wiki: Jakarta HiveMind Wiki
Page: InjectingNonServiceFactoryObtainedObjects
URL:
http://wiki.apache.org/jakarta-hivemind/InjectingNonServiceFactoryObtainedObjects
no comment
Change Log:
------------------------------------------------------------------------------
@@ -11,7 +11,7 @@
On a side note: If this type of injection is possible then a clean solution to
my change proposal ModuleResourcesProposal is very simple. Resources would be
created using a factory specifically designed to do this (much like the
BeanFactory) which would also manage backing-store type and synchronization
issues. These resources could then be injected into services by using
!ResourceFactory's get method to obtain the resource.
-----
+== A. ==
HowardLewisShip: Seems that !BuilderFactory could do this, by changing the
nested {{{set-service}}} element to have an additional attribute,
{{{read-property}}} that would be a property of the service to read as the
value to assign to the service implementation under construction. Perhaps
{{{set-service}}} should be left alone, and there should be a
{{{read-service-property}}} element added instead.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]