コード例 #1
0
 @Override
 public void install(final Environment environment, final Managed instance) {
   reporter.line("(%s)", FeatureUtils.getInstanceClass(instance).getName());
   environment.lifecycle().manage(instance);
 }
コード例 #2
0
 @Override
 public boolean matches(final Class<?> type) {
   return FeatureUtils.is(type, Managed.class);
 }