コード例 #1
0
 /* Inherited. */
 @Override
 public Object get(ConfigHandler handler, String property) {
   try {
     try {
       return _method.invoke(handler.getConfiguration(), property);
     } catch (InvocationTargetException ex) {
       throw ex.getTargetException();
     }
   } catch (RuntimeException ex) {
     throw ex;
   } catch (Throwable th) {
     throw new ConfigurationRuntimeException("Type get error", th);
   }
 }
コード例 #2
0
 @Override
 public void set(ConfigHandler handler, String property, Object value) {
   handler.getConfiguration().setProperty(property, (String) value);
 }