You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/10/20 18:42:55 UTC

[jira] Updated: (HIVEMIND-71) TranslatorProviced

The following issue has been updated:

    Updater: Istvan Orban (mailto:istvano@mailbox.hu)
       Date: Wed, 20 Oct 2004 9:42 AM
    Changes:
             Attachment changed to TranslatorObjectProvider.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/HIVEMIND-71?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-71

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-71
    Summary: TranslatorProviced
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: HiveMind
 Components: 
             framework

   Assignee: 
   Reporter: Istvan Orban

    Created: Wed, 20 Oct 2004 9:40 AM
    Updated: Wed, 20 Oct 2004 9:42 AM

Description:
Hello Everybody.

I needed to access the Translators for my services. so I though it would be great to have an Object provider next to the existing ones (configuration, service, etc...) which gives access to the avialable Translators.

so now You can write new translators and access them easily with the prefix translator

- I wrote a new provider: TranslatorObjectProvider
- I added one item to the hivemind.ObjectProviders

<provider prefix="translator" service-id="TranslatorProvider"/>

- and I wrote a new service 

	<service-point id="TranslatorProvider" interface="org.apache.hivemind.service.ObjectProvider">
		Provides translators for servces
		<create-instance class="<create-instance class="org.apache.hivemind.service.impl.TranslatorObjectProvider"/>
	</service-point>

after having adding this.

I can access any translator the following way

translator:int, translator:boolean etc....

I hope this was the right way to do. Maybe it would be nice to have this builtin. I'm not sure...

ps: see files attached.

Istvano



see files attached



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org