[cal10n-user] cal10n and osgi

ekke ekke at ekkes-corner.org
Mon Sep 7 16:10:14 CEST 2009


just thinking about the use of cal10n in OSGI environment

1. some bundles with enumerations and also l10n resourcebundles
2. other bundles need localized enum literals - I want to provide this 
thru a service from inside Enum bundles

1. has dependency to ICAL10N, but ICAL10N also needs to know the bundles 
containing the enum,
because ICAL10N tries to find the ResourceBundle from classpath
but I dont like to use Dynamic-Import *, and also want to avoid Eclipse 
Buddy policy
--
how to solve the dependency from ICAL10N to all these bundles containing 
resourceBundle .properties files ?

I looked into source of MessageConveyor and have seen that I need a 
different cache and lookup implementation

so it seems that the only way is to write a new implementation - 
soething like
MessageConveyorOSGI implementing IMessageConveyor

or do you have another idea ?

ekke
-- 

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke at ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/cal10n-user/attachments/20090907/c47d8d23/attachment.htm>


More information about the cal10n-user mailing list