Пример #1
0
 @Override
 public boolean configure(final String name, final Map<String, Object> params)
     throws ConfigurationException {
   super.configure(name, params);
   _resourceMgr.registerResourceStateAdapter(name, this);
   return true;
 }
 @Override
 public boolean configure(String name, Map<String, Object> params) throws ConfigurationException {
   super.configure(name, params);
   _resourceMgr.registerResourceStateAdapter(this.getClass().getSimpleName(), this);
   return true;
 }