[ http://issues.apache.org/jira/browse/HIVEMIND-71?page=all ]
     
Achim Hügen closed HIVEMIND-71:
-------------------------------

    Resolution: Won't Fix

I agree, not a very common usecase. Closing the issue.

> TranslatorProviced
> ------------------
>
>          Key: HIVEMIND-71
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-71
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Reporter: Istvan Orban
>  Attachments: TranslatorObjectProvider.java
>
> 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

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to