org.jboss.kernel.spi.deployment
Interface KernelDeployment

All Superinterfaces:
Cloneable, org.jboss.util.JBossInterface
All Known Implementing Classes:
AbstractKernelDeployment, AbstractKernelDeployment10, AbstractSpringDeployment, AOPDeployment

public interface KernelDeployment
extends org.jboss.util.JBossInterface

A kernel deployment.

Version:
$Revision: 65569 $
Author:
Adrian Brock

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 setInstalled(boolean installed)
          Set the intalled state
 void setName(String name)
          Set the name of the deployment
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Method Detail

getName

String getName()
Get the name of the deployment

Returns:
the name

setName

void setName(String name)
Set the name of the deployment

Parameters:
name - the name

isInstalled

boolean isInstalled()
Whether the deployment is installed

Returns:
true when installed

setInstalled

void setInstalled(boolean installed)
Set the intalled state

Parameters:
installed - true when installed

getScoped

Boolean getScoped()
Is deployment scoped

Returns:
true if scoped, false if isolated, null by default

getAnnotations

Set<AnnotationMetaData> getAnnotations()
Get the deployment annotations.

Returns:
the annotations

getClassLoader

ClassLoaderMetaData getClassLoader()
Get the classloader for this deployment

Returns:
the classloader

getCreate

LifecycleMetaData getCreate()
Get the default create lifecycle

Returns:
the create lifecycle

getStart

LifecycleMetaData getStart()
Get the default start lifecycle

Returns:
the start lifecycle

getStop

LifecycleMetaData getStop()
Get the default stop lifecycle

Returns:
the stop lifecycle

getDestroy

LifecycleMetaData getDestroy()
Get the default destroy lifecycle

Returns:
the destroy lifecycle

getAliases

Set<NamedAliasMetaData> getAliases()
Get named aliases.

Returns:
the aliases

getMode

ControllerMode getMode()
Get the ControllerMode.

Returns:
mode

getBeans

List<BeanMetaData> getBeans()
Get the beans in the deployment

Returns:
List

getBeanFactories

List<BeanMetaDataFactory> getBeanFactories()
Get the bean factories in the deployment

Returns:
List

getInstalledContexts

List<KernelControllerContext> getInstalledContexts()
Get the installed contexts

Returns:
the installed contexts

addInstalledContext

void addInstalledContext(KernelControllerContext context)
Add an installed context

Parameters:
context - the context to add

removeInstalledContext

void removeInstalledContext(KernelControllerContext context)
Remove an installed context

Parameters:
context - the context to add


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.