Brooklyn

brooklyn.catalog.internal
[Java] Class CatalogClasspathDo

java.lang.Object
  brooklyn.catalog.internal.CatalogClasspathDo

public class CatalogClasspathDo

Nested Class Summary
static enum CatalogClasspathDo.CatalogScanningModes

 
Constructor Summary
CatalogClasspathDo(CatalogDo catalog)

 
Method Summary
CatalogItem addCatalogEntry(java.lang.Class c)

augments the given item with annotations and class data for the given class, then adds to catalog

CatalogItem addCatalogEntry(CatalogItemDtoAbstract item, java.lang.Class c)

augments the given item with annotations and class data for the given class, then adds to catalog @return

void addToClasspath(java.net.URL u, boolean updateDto)

adds the given URL as something this classloader will load (however no scanning is done)

void addToClasspath(java.lang.ClassLoader loader)

adds the given URL as something this classloader will load (however no scanning is done).

java.lang.ClassLoader getLocalClassLoader()

returns classloader for the entries specified here

protected void loadLocalClassLoader()

 
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

CatalogClasspathDo

public CatalogClasspathDo(CatalogDo catalog)


 
Method Detail

addCatalogEntry

public CatalogItem addCatalogEntry(java.lang.Class c)
augments the given item with annotations and class data for the given class, then adds to catalog


addCatalogEntry

public CatalogItem addCatalogEntry(CatalogItemDtoAbstract item, java.lang.Class c)
augments the given item with annotations and class data for the given class, then adds to catalog @return


addToClasspath

public void addToClasspath(java.net.URL u, boolean updateDto)
adds the given URL as something this classloader will load (however no scanning is done)


addToClasspath

public void addToClasspath(java.lang.ClassLoader loader)
adds the given URL as something this classloader will load (however no scanning is done).

the DTO will _not_ be updated.


getLocalClassLoader

public java.lang.ClassLoader getLocalClassLoader()
returns classloader for the entries specified here


loadLocalClassLoader

protected void loadLocalClassLoader()


 

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