org.jboss.kernel.spi.deployment
Interface KernelDeployment

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

public interface KernelDeployment
extends org.jboss.util.JBossInterface

A kernel deployment.

Version:
$Revision: 1.4 $
Author:
Adrian Brock

Method Summary
 void addInstalledContext(KernelControllerContext context)
          Add an installed context
 List getBeans()
          Get the beans in the deployment
 ClassLoaderMetaData getClassLoader()
          Get the classloader for this deployment
 List getInstalledContexts()
          Get the installed contexts
 String getName()
          Get the name of the deployment
 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

getClassLoader

ClassLoaderMetaData getClassLoader()
Get the classloader for this deployment

Returns:
the classloader

getBeans

List getBeans()
Get the beans in the deployment

Returns:
List

getInstalledContexts

List 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 © 2004 JBoss Inc. All Rights Reserved.