public class BindingRepository extends AbstractComponentRepository<BindingKey,Binding,BindingFactory> implements ActivationManager<BindingKey>, ActivationSource<BindingKey>, Constructable
| Constructor and Description |
|---|
BindingRepository() |
getProviders, getProviders, getUniqueProviders, getUniqueProvidersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate@Inject public void setComponentFactories(Optional<Collection<BindingFactory>> componentFactories)
@Inject public void setComponents(Optional<Collection<Binding>> components)
public void registerListener(ActivationListener<BindingKey> listener)
registerListener in interface ActivationListenable<BindingKey>public void deregisterListener(ActivationListener<BindingKey> listener)
deregisterListener in interface ActivationListenable<BindingKey>public boolean isActive(BindingKey key)
isActive in interface ActivationProvider<BindingKey>public boolean isActive(String urlPattern)
public boolean isActive(MediaType mediaType)
public void activate(BindingKey key)
activate in interface ActivationSink<BindingKey>public void deactivate(BindingKey key)
deactivate in interface ActivationSink<BindingKey>public Set<BindingKey> getKeys()
getKeys in interface ActivationSource<BindingKey>public void setActive(BindingKey bk, boolean active)
setActive in interface ActivationSink<BindingKey>public void init()
init in interface Constructablepublic Binding getBinding(BindingKey key)
public boolean isBindingSupported(String urlPattern)
public boolean isBindingSupported(MediaType mediaType)
public boolean isBindingSupported(BindingKey key)
public Map<BindingKey,Binding> getBindings()
@Deprecated public Map<String,Binding> getBindingsByPath()
@Deprecated public Map<String,Binding> getAllBindingsByPath()
@Deprecated public static BindingRepository getInstance()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.