[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] ConfigAdmin getConfiguration from external storage


Is it possible to get a notification when ConfigurationAdmin.getConfiguration( with any pid ) is called and return a configuration from an external storage then? Are you aware of existing mechanism to achieve this? Alternatively, we thought of pluging a hook inside getConfiguration() method, or directly extending ConfigurationAdminImpl and registering it instead of the current service (ConfigurationAdminImpl should be made public though). How do you think, what would be the preferred approach?

Best regards,
  Philip Yankov