public class ModuleInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<EngineRef> |
engines |
protected Events |
events |
protected Map<Class<? extends Object>,Object> |
metaData |
protected String |
name |
protected LinkedList<EngineRef> |
reversedEngines |
| Constructor and Description |
|---|
ModuleInfo(Events events,
String name,
Collection<EngineRef> refs,
Properties moduleProps) |
protected LinkedList<EngineRef> reversedEngines
protected final String name
protected final Events events
public ModuleInfo(Events events, String name, Collection<EngineRef> refs, Properties moduleProps)
public Set<ClassLoader> getClassLoaders()
public ClassLoader getModuleClassLoader()
protected void cleanClassLoaders()
public void addMetaData(Object o)
public <T> T getMetaData(Class<T> c)
public String getName()
public Properties getModuleProps()
public Collection<Sniffer> getSniffers()
public void load(ExtendedDeploymentContext context, ProgressTracker tracker) throws Exception
Exceptionpublic <T extends Container> EngineRef getEngineRefForContainer(Class<T> type)
public void start(DeploymentContext context, ProgressTracker tracker) throws Exception
Exceptionpublic void stop(ExtendedDeploymentContext context, Logger logger)
public void unload(ExtendedDeploymentContext context)
public void clean(ExtendedDeploymentContext context) throws Exception
Exceptionpublic boolean suspend(Logger logger)
public boolean resume(Logger logger)
public void save(Module module) throws TransactionFailure, PropertyVetoException
module - the module being persistedTransactionFailurePropertyVetoExceptionpublic void reset()
Copyright © 2020. All rights reserved.