public class RebindContextImpl extends java.lang.Object implements RebindContext
Constructor and Description |
---|
RebindContextImpl(RebindExceptionHandler exceptionHandler,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
CatalogItem<?,?> |
getCatalogItem(java.lang.String id) |
Enricher |
getEnricher(java.lang.String id) |
Entity |
getEntity(java.lang.String id) |
RebindExceptionHandler |
getExceptionHandler() |
Feed |
getFeed(java.lang.String id) |
Location |
getLocation(java.lang.String id) |
Policy |
getPolicy(java.lang.String id) |
boolean |
isReadOnly(BrooklynObject item) |
java.lang.Class<?> |
loadClass(java.lang.String className) |
void |
registerCatalogItem(java.lang.String id,
CatalogItem<?,?> catalogItem) |
void |
registerEnricher(java.lang.String id,
Enricher enricher) |
void |
registerEntity(java.lang.String id,
Entity entity) |
void |
registerFeed(java.lang.String id,
Feed feed) |
void |
registerLocation(java.lang.String id,
Location location) |
void |
registerPolicy(java.lang.String id,
Policy policy) |
void |
setAllReadOnly() |
void |
unregisterCatalogItem(CatalogItem<?,?> item) |
void |
unregisterEnricher(Enricher enricher) |
void |
unregisterFeed(Feed feed) |
void |
unregisterPolicy(Policy policy) |
public RebindContextImpl(RebindExceptionHandler exceptionHandler, java.lang.ClassLoader classLoader)
public void registerEntity(java.lang.String id, Entity entity)
public void registerLocation(java.lang.String id, Location location)
public void registerPolicy(java.lang.String id, Policy policy)
public void registerEnricher(java.lang.String id, Enricher enricher)
public void registerFeed(java.lang.String id, Feed feed)
public void registerCatalogItem(java.lang.String id, CatalogItem<?,?> catalogItem)
public void unregisterPolicy(Policy policy)
public void unregisterEnricher(Enricher enricher)
public void unregisterFeed(Feed feed)
public void unregisterCatalogItem(CatalogItem<?,?> item)
public Entity getEntity(java.lang.String id)
getEntity
in interface RebindContext
public Location getLocation(java.lang.String id)
getLocation
in interface RebindContext
public Policy getPolicy(java.lang.String id)
getPolicy
in interface RebindContext
public Enricher getEnricher(java.lang.String id)
getEnricher
in interface RebindContext
public CatalogItem<?,?> getCatalogItem(java.lang.String id)
getCatalogItem
in interface RebindContext
public Feed getFeed(java.lang.String id)
getFeed
in interface RebindContext
public java.lang.Class<?> loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
loadClass
in interface RebindContext
java.lang.ClassNotFoundException
public RebindExceptionHandler getExceptionHandler()
getExceptionHandler
in interface RebindContext
public void setAllReadOnly()
public boolean isReadOnly(BrooklynObject item)
isReadOnly
in interface RebindContext