@Test public void testDestroy() { testTheClear(); }
@PreDestroy public void destroy() { clear(); }
WorkItemDefinitionCacheRegistry implements WorkItemDefinitionRegistry { @PreDestroy public void destroy() { clear(); } }
WorkItemDefinitionCacheRegistry implements WorkItemDefinitionRegistry { @PreDestroy public void destroy() { clear(); } WorkItemDefinitionCacheRegistry(); }
WorkItemDefinitionCacheRegistry implements WorkItemDefinitionRegistry { @PreDestroy public void destroy() { clear(); } WorkItemDefinitionCacheRegistry(); @Override Collection<WorkItemDefinition> items(); @Override WorkItemDefinition get(final String name); void register(final WorkItemDefinition def); WorkItemDefinition remove(final String name); boolean isEmpty(); void clear(); @PreDestroy void destroy(); }
WorkItemDefinitionCacheRegistry implements WorkItemDefinitionRegistry { @PreDestroy public void destroy() { clear(); } WorkItemDefinitionCacheRegistry(); @Override Collection<WorkItemDefinition> items(); @Override WorkItemDefinition get(final String name); void register(final WorkItemDefinition def); WorkItemDefinition remove(final String name); boolean isEmpty(); void clear(); @PreDestroy void destroy();  }