You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/23 13:29:18 UTC
[Jakarta-hivemind Wiki] Trivial Update of "Examples" by ChristianMittendorf
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-hivemind Wiki" for change notification.
The following page has been changed by ChristianMittendorf:
http://wiki.apache.org/jakarta-hivemind/Examples
------------------------------------------------------------------------------
Add the service to your hivemind.xml:
{{{
- <service-point id="dbContextService" interface="de.cmittendorf.texample.hivemind.DataContextService">
+ <service-point id="dbContextService" interface="de.example.hivemind.DataContextService">
</service-point>
<implementation service-id="dbContextService">
<invoke-factory>
- <construct class="de.cmittendorf.texample.hivemind.impl.DataContextServiceImpl" />
+ <construct class="de.example.hivemind.impl.DataContextServiceImpl" />
</invoke-factory>
</implementation>
}}}
@@ -171, +171 @@
Create the Interface
{{{
- package de.cmittendorf.texample.hivemind;
+ package de.example.hivemind;
import org.objectstyle.cayenne.access.DataContext;
@@ -184, +184 @@
and the Implementation
{{{
- package de.cmittendorf.texample.hivemind.impl;
+ package de.example.hivemind.impl;
import org.objectstyle.cayenne.access.DataContext;
- import de.cmittendorf.texample.hivemind.DataContextService;
+ import de.example.hivemind.DataContextService;
public class DataContextServiceImpl implements DataContextService
{
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org