@Test public void testDeregisterProviderType() { runtimeRegistry.registerProviderType(providerType); verifyProviderTypeIsRegistered(providerType); runtimeRegistry.deregisterProviderType(providerType); verifyProviderTypeIsNotRegistered(providerType); }
@Override public void deregisterProviderType(final ProviderType providerType) { checkNotNull("providerType", providerType); providerTypes.remove(providerType); }
InMemoryRuntimeRegistry implements RuntimeRegistry { @Override public void deregisterProviderType(final ProviderType providerType) { checkNotNull("providerType", providerType); providerTypes.remove(providerType); } }
InMemoryRuntimeRegistry implements RuntimeRegistry { @Override public void deregisterProviderType(final ProviderType providerType) { checkNotNull("providerType", providerType); providerTypes.remove(providerType); } InMemoryRuntimeRegistry(); }
InMemoryRuntimeRegistry implements RuntimeRegistry { @Override public void deregisterProviderType(final ProviderType providerType) { checkNotNull("providerType", providerType); providerTypes.remove(providerType); } InMemoryRuntimeRegistry(); @Override void registerProviderType(final ProviderType providerType); @Override List<ProviderType> getProviderTypes(final Integer page,
                                               final Integer pageSize,
                                               final String sort,
                                               final boolean sortOrder); @Override void deregisterProviderType(final ProviderType providerType); @Override void registerProvider(final Provider provider); @Override List<Provider> getProviders(final Integer page,
                                       final Integer pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override List<Provider> getProvidersByType(final ProviderType providerType); @Override Provider getProvider(final String providerId); @Override void deregisterProvider(final Provider provider); @Override void deregisterProvider(final String providerId); @Override void registerRuntime(final Runtime runtime); @Override List<Runtime> getRuntimes(final Integer page,
                                     final Integer pageSize,
                                     final String sort,
                                     final boolean sortOrder); @Override Runtime getRuntimeById(final String runtimeId); @Override void deregisterRuntime(final RuntimeId runtimeId); @Override Optional<T> getProvider(final ProviderId providerId,
                                                        final Class<T> clazz); }
InMemoryRuntimeRegistry implements RuntimeRegistry { @Override public void deregisterProviderType(final ProviderType providerType) { checkNotNull("providerType", providerType); providerTypes.remove(providerType); } InMemoryRuntimeRegistry(); @Override void registerProviderType(final ProviderType providerType); @Override List<ProviderType> getProviderTypes(final Integer page,
                                               final Integer pageSize,
                                               final String sort,
                                               final boolean sortOrder); @Override void deregisterProviderType(final ProviderType providerType); @Override void registerProvider(final Provider provider); @Override List<Provider> getProviders(final Integer page,
                                       final Integer pageSize,
                                       final String sort,
                                       final boolean sortOrder); @Override List<Provider> getProvidersByType(final ProviderType providerType); @Override Provider getProvider(final String providerId); @Override void deregisterProvider(final Provider provider); @Override void deregisterProvider(final String providerId); @Override void registerRuntime(final Runtime runtime); @Override List<Runtime> getRuntimes(final Integer page,
                                     final Integer pageSize,
                                     final String sort,
                                     final boolean sortOrder); @Override Runtime getRuntimeById(final String runtimeId); @Override void deregisterRuntime(final RuntimeId runtimeId); @Override Optional<T> getProvider(final ProviderId providerId,
                                                        final Class<T> clazz);  }