I have a bunch of services defined in my hivemodule.xml file, but hivemind 
doesn’t seem to be wiring them together.  In the login service (see below) 
which I use directly, the field that contains the instance of the userDAO 
service is null.  The LoginService interface does not contain setUserDAO, but 
adding it did not help.  What gives?

 

Thanks for your help,

Rob

 

Here is the module descriptor:

 

<?xml version="1.0"?>

<module id="org.tmit1.bugTracker" version="1.0.0">

      <service-point id="sessionCreator" interface="model.daos.SessionCreator">

            <create-instance class="model.daos.SessionCreatorImpl" />

      </service-point>

      <service-point id="sessionOwner" interface="model.daos.SessionOwner">

            <invoke-factory model="threaded">

                  <construct class="model.daos.SessionOwnerImpl" />

            </invoke-factory>

      </service-point>

      <service-point id="bugReportDAO" interface="model.daos.GenericDAO">

            <invoke-factory>

                  <construct class="model.daos.GenericDAOImpl">

                        <set property="targetClassName" 
value="model.objects.BugReport" />

                  </construct>

            </invoke-factory>

      </service-point>

      <service-point id="userDAO" interface="model.daos.GenericDAO">

            <invoke-factory>

                  <construct class="model.daos.GenericDAOImpl">

                        <set property="targetClassName" 
value="model.objects.User" />

                  </construct>

            </invoke-factory>

      </service-point>

      <service-point id="bugService" interface="model.services.BugService">

            <invoke-factory>

                  <construct class="model.services.BugServiceDefaultImpl" />

            </invoke-factory>

      </service-point>

      <service-point id="loginService" interface="model.services.LoginService">

            <invoke-factory>

                  <construct class="model.services.LoginServiceDefaultImpl" />

            </invoke-factory>

      </service-point>

</module>


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.3/331 - Release Date: 5/3/2006
 

Reply via email to