|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.kernel.plugins.deployment.AbstractKernelDeployment
public class AbstractKernelDeployment
An abstract kernel deployment.
| Field Summary | |
|---|---|
protected Set<NamedAliasMetaData> |
aliases
The aliases |
protected Set<AnnotationMetaData> |
annotations
The annotations |
protected List<BeanMetaDataFactory> |
beanFactories
The beans List |
protected ClassLoaderMetaData |
classLoader
The ClassLoader |
protected LifecycleMetaData |
create
default create lifecycle method |
protected LifecycleMetaData |
destroy
default destroy lifecycle method |
protected boolean |
installed
Whether it is installed |
protected List<KernelControllerContext> |
installedContexts
The installed contexts |
protected ControllerMode |
mode
The ControllerMode |
protected String |
name
The name of the deployment |
protected Boolean |
scoped
Is deployment scoped |
protected LifecycleMetaData |
start
default start lifecycle method |
protected LifecycleMetaData |
stop
default stop lifecycle method |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AbstractKernelDeployment()
Create a new kernel deployment |
|
| Method Summary | |
|---|---|
void |
addInstalledContext(KernelControllerContext context)
Add an installed context |
Set<NamedAliasMetaData> |
getAliases()
Get named aliases. |
Set<AnnotationMetaData> |
getAnnotations()
Get the deployment annotations. |
List<BeanMetaDataFactory> |
getBeanFactories()
Get the bean factories in the deployment |
List<BeanMetaData> |
getBeans()
Get the beans in the deployment |
ClassLoaderMetaData |
getClassLoader()
Get the classloader for this deployment |
LifecycleMetaData |
getCreate()
Get the default create lifecycle |
LifecycleMetaData |
getDestroy()
Get the default destroy lifecycle |
List<KernelControllerContext> |
getInstalledContexts()
Get the installed contexts |
ControllerMode |
getMode()
Get the ControllerMode. |
String |
getName()
Get the name of the deployment |
Boolean |
getScoped()
Is deployment scoped |
LifecycleMetaData |
getStart()
Get the default start lifecycle |
LifecycleMetaData |
getStop()
Get the default stop lifecycle |
boolean |
isInstalled()
Whether the deployment is installed |
void |
removeInstalledContext(KernelControllerContext context)
Remove an installed context |
void |
setAliases(Set<NamedAliasMetaData> aliases)
|
void |
setAnnotations(Set<AnnotationMetaData> annotations)
|
void |
setBeanFactories(List<BeanMetaDataFactory> beanFactories)
Set the bean factories. |
void |
setBeans(List beans)
Deprecated. use setBeanFactories |
void |
setClassLoader(ClassLoaderMetaData classLoader)
Set the classloader |
void |
setCreate(LifecycleMetaData create)
Set create lifecycle metadata. |
void |
setDestroy(LifecycleMetaData destroy)
Set destroy lifecycle metadata. |
void |
setInstalled(boolean installed)
Set the intalled state |
void |
setMode(ControllerMode mode)
|
void |
setName(String name)
Set the name of the deployment |
void |
setScoped(Boolean scoped)
|
void |
setStart(LifecycleMetaData start)
Set start lifecycle metadata. |
void |
setStop(LifecycleMetaData stop)
Set stop lifecycle metadata. |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString |
| Field Detail |
|---|
protected String name
protected boolean installed
protected transient List<KernelControllerContext> installedContexts
protected Boolean scoped
protected Set<AnnotationMetaData> annotations
protected List<BeanMetaDataFactory> beanFactories
protected ClassLoaderMetaData classLoader
protected LifecycleMetaData create
protected LifecycleMetaData start
protected LifecycleMetaData stop
protected LifecycleMetaData destroy
protected ControllerMode mode
protected Set<NamedAliasMetaData> aliases
| Constructor Detail |
|---|
public AbstractKernelDeployment()
| Method Detail |
|---|
@Deprecated public void setBeans(List beans)
beans - a Listpublic void setBeanFactories(List<BeanMetaDataFactory> beanFactories)
beanFactories - a Listpublic String getName()
KernelDeployment
getName in interface KernelDeploymentpublic void setName(String name)
KernelDeployment
setName in interface KernelDeploymentname - the namepublic boolean isInstalled()
KernelDeployment
isInstalled in interface KernelDeploymentpublic void setInstalled(boolean installed)
KernelDeployment
setInstalled in interface KernelDeploymentinstalled - true when installedpublic void addInstalledContext(KernelControllerContext context)
KernelDeployment
addInstalledContext in interface KernelDeploymentcontext - the context to addpublic List<KernelControllerContext> getInstalledContexts()
KernelDeployment
getInstalledContexts in interface KernelDeploymentpublic void removeInstalledContext(KernelControllerContext context)
KernelDeployment
removeInstalledContext in interface KernelDeploymentcontext - the context to addpublic List<BeanMetaData> getBeans()
KernelDeployment
getBeans in interface KernelDeploymentpublic Boolean getScoped()
KernelDeployment
getScoped in interface KernelDeploymentpublic void setScoped(Boolean scoped)
public Set<AnnotationMetaData> getAnnotations()
KernelDeployment
getAnnotations in interface KernelDeploymentpublic void setAnnotations(Set<AnnotationMetaData> annotations)
public List<BeanMetaDataFactory> getBeanFactories()
KernelDeployment
getBeanFactories in interface KernelDeploymentpublic ClassLoaderMetaData getClassLoader()
KernelDeployment
getClassLoader in interface KernelDeploymentpublic void setClassLoader(ClassLoaderMetaData classLoader)
classLoader - the classloader metadatapublic LifecycleMetaData getCreate()
KernelDeployment
getCreate in interface KernelDeploymentpublic void setCreate(LifecycleMetaData create)
MutableLifecycleHolder
setCreate in interface MutableLifecycleHoldercreate - the lifecycle meta datapublic LifecycleMetaData getStart()
KernelDeployment
getStart in interface KernelDeploymentpublic void setStart(LifecycleMetaData start)
MutableLifecycleHolder
setStart in interface MutableLifecycleHolderstart - the lifecycle meta datapublic LifecycleMetaData getStop()
KernelDeployment
getStop in interface KernelDeploymentpublic void setStop(LifecycleMetaData stop)
MutableLifecycleHolder
setStop in interface MutableLifecycleHolderstop - the lifecycle meta datapublic LifecycleMetaData getDestroy()
KernelDeployment
getDestroy in interface KernelDeploymentpublic void setDestroy(LifecycleMetaData destroy)
MutableLifecycleHolder
setDestroy in interface MutableLifecycleHolderdestroy - the lifecycle meta datapublic Set<NamedAliasMetaData> getAliases()
KernelDeployment
getAliases in interface KernelDeploymentpublic void setAliases(Set<NamedAliasMetaData> aliases)
public ControllerMode getMode()
KernelDeployment
getMode in interface KernelDeploymentpublic void setMode(ControllerMode mode)
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||