@ManagedOperation
@Description("change the shared cache mode if possible (value is ok)")
public void setSharedCacheMode(String value) {
try {
SharedCacheMode mode = SharedCacheMode.valueOf(value.trim().toUpperCase());
reloadableEntityManagerFactory.setSharedCacheMode(mode);
} catch (Exception iae) {
// ignored
}
}