|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.catalog.internal.CatalogDo
public class CatalogDo
Constructor Summary | |
CatalogDo(CatalogDto dto)
|
Method Summary | |
---|---|
void
|
addEntry(CatalogItemDtoAbstract entry)
adds the given entry to the catalog, with no enrichment; callers may prefer CatalogClasspathDo#addCatalogEntry(CatalogItemDtoAbstract, Class)#addCatalogEntry(CatalogItemDtoAbstract, Class) |
void
|
addToClasspath(java.lang.String... urls)
|
protected java.util.Map
|
buildCache()
|
protected void
|
clearCache(boolean deep)
|
protected java.util.Map
|
getCache()
|
java.lang.ClassLoader
|
getLocalClassLoader()
classloader for only the entries in this catalog's classpath |
java.lang.ClassLoader
|
getRecursiveClassLoader()
|
java.lang.ClassLoader
|
getRootClassLoader()
the root classloader is the recursive CL from the outermost catalog (which includes the base classloader from the mgmt context, if set) |
boolean
|
isLocal()
|
CatalogDo
|
load(ManagementContext mgmt, CatalogDo parent)
causes all URL-based catalogs to have their manifests loaded, and all scanning-based classpaths to scan the classpaths (but does not load all JARs) |
protected void
|
loadChildrenCatalogs()
|
protected void
|
loadRecursiveClassLoader()
|
protected void
|
loadThisCatalog(ManagementContext mgmt, CatalogDo parent)
|
void
|
setClasspathScanForEntities(CatalogScanningModes value)
|
java.lang.String
|
toString()
is "local" if it and all ancestors are not based on any remote urls |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public CatalogDo(CatalogDto dto)
Method Detail |
---|
cache.put(entry.getId(), new CatalogItemDo(this, entry)); public void addEntry(CatalogItemDtoAbstract entry)
public void addToClasspath(java.lang.String... urls)
protected synchronized Map> buildCache() { protected java.util.Map buildCache()
protected void clearCache(boolean deep)
protected java.util.Map getCache()
public java.lang.ClassLoader getLocalClassLoader()
public java.lang.ClassLoader getRecursiveClassLoader()
public java.lang.ClassLoader getRootClassLoader()
public boolean isLocal()
public CatalogDo load(ManagementContext mgmt, CatalogDo parent)
protected void loadChildrenCatalogs()
protected void loadRecursiveClassLoader()
protected void loadThisCatalog(ManagementContext mgmt, CatalogDo parent)
public void setClasspathScanForEntities(CatalogScanningModes value)
// 'file' is the only protocol accepted as "local" public java.lang.String toString()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.