Brooklyn

brooklyn.catalog.internal
[Java] Class CatalogDo

java.lang.Object
  brooklyn.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(AbstractCatalogItem, Class))#addCatalogEntry(AbstractCatalogItem, 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()

recursive classloader is the local classloader plus all children catalog's classloader

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()

is "local" if it and all ancestors are not based on any remote urls

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()

 
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

CatalogDo

public CatalogDo(CatalogDto dto)


 
Method Detail

addEntry

@SuppressWarnings({ "unchecked", "rawtypes" })
public void addEntry(CatalogItemDtoAbstract entry)
adds the given entry to the catalog, with no enrichment; callers may prefer CatalogClasspathDo#addCatalogEntry(AbstractCatalogItem, Class))#addCatalogEntry(AbstractCatalogItem, Class))


addToClasspath

public void addToClasspath(java.lang.String... urls)


buildCache

@SuppressWarnings({ "unchecked", "rawtypes" })
protected java.util.Map buildCache()


clearCache

protected void clearCache(boolean deep)


getCache

protected java.util.Map getCache()


getLocalClassLoader

public java.lang.ClassLoader getLocalClassLoader()
classloader for only the entries in this catalog's classpath


getRecursiveClassLoader

public java.lang.ClassLoader getRecursiveClassLoader()
recursive classloader is the local classloader plus all children catalog's classloader


getRootClassLoader

public 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)


isLocal

public boolean isLocal()
is "local" if it and all ancestors are not based on any remote urls


load

public 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)


loadChildrenCatalogs

protected void loadChildrenCatalogs()


loadRecursiveClassLoader

protected void loadRecursiveClassLoader()


loadThisCatalog

protected void loadThisCatalog(ManagementContext mgmt, CatalogDo parent)


setClasspathScanForEntities

public void setClasspathScanForEntities(CatalogScanningModes value)


toString

@Override
public java.lang.String toString()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.