Currently the dependency to the Cache is managed vial a {@link ServiceTracker}. This means that the Cache is activated/keeps active even if the Yard is not available or is disabled. If the Yard is not available all Yard related methods like get/store/remove/ find(..) throw {@link YardException}s.
TODO This is not the intended way to do it, but because I have no Idea how to start/stop a OSGI Component from within a class :( @author Rupert Westenthaler @see Cache
|
|