You might like to change <configuration-point
id="availableDAO"> to the following and see if it
works.
<configuration-point id="availableDAO">
<schema>
<element name="dao">
<attribute name="service-id"
translator="service-point"/>
<rules>
<!-- Read in the value. The service-point
translator will
convert the value.
-->
<push-attribute attribute="value"
/>
<invoke-parent
method="addElement"/>
</rules>
</element>
</schema>
</configuration-point>
Shing
--- "Kosarev A.V." <[EMAIL PROTECTED]> wrote:
> Please take a look to code:
> <service-point id="daoFactory"
> interface="mypackage.dao.DAOFactory">
> <invoke-factory model="singleton">
> <construct
> class="mypackage.dao.DAOFactory">
> <set-configuration
> property="availableDAO"
> configuration-id="availableDAO"/>
> </construct>
> </invoke-factory>
> </service-point>
>
> <configuration-point id="availableDAO">
> <schema>
> <element name="dao">
> <attribute name="service-id"
> translator="service-point"/>
> </element>
> </schema>
> </configuration-point>
>
> <conribution configuration-id="availableDAO">
> <dao service-id="accountDAO"/>
> <dao service-id="clientDAO"/>
> </conribution>
>
> What's wrong?
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]