org.jboss.deployers.structure.spi
Interface DeploymentMBean

All Known Subinterfaces:
AbstractDeploymentContextMBean, AbstractVFSDeploymentContextMBean, ComponentDeploymentContextMBean
All Known Implementing Classes:
AbstractDeploymentContext, AbstractVFSDeploymentContext, ComponentDeploymentContext

public interface DeploymentMBean

DeploymentMBean.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 List<ObjectName> getChildNames()
          The children
 ObjectName getClassLoaderName()
          Gets the classloader for this deployment unit
 Comparator<DeploymentContext> getComparator()
          Get the comparator.
 List<ObjectName> getComponentNames()
          The components
 Set<Object> getControllerContextNames()
          Get the controller context names.
 org.jboss.dependency.spi.DependencyInfo getDependencyInfo()
          Get the dependency info
 org.jboss.metadata.spi.scope.ScopeKey getMutableScope()
          Get the mutable scope
 String getName()
          Get the deployment name
 ObjectName getObjectName()
          Get the object name
 ObjectName getParentName()
          The parent
 Throwable getProblem()
          Get the problem for this context
 int getRelativeOrder()
          Get the relative order
 String getRelativePath()
          Get the path of this deployment relative to the top of the deployment vfs path ------------------- relative path deploy/some.ear "" deploy/some.ear/x.ejb "/x.ejb" deploy/some.ear/y.sar "/y.sar" deploy/some.ear/y.sar/z.rar "/y.sar/z.rar"
 org.jboss.metadata.spi.scope.ScopeKey getScope()
          Get the scope
 String getSimpleName()
          Get the simple vfs name of the deployment unit.
 DeploymentState getState()
          Get the deployment state
 ObjectName getTopLevelName()
          Get the top level deployment
 boolean isComponent()
          Whether this is a component
 boolean isDeployed()
          Whether the deployment was processed
 boolean isTopLevel()
          Whether this is a top level deployment
 

Method Detail

getName

String getName()
Get the deployment name

Returns:
the name

getObjectName

ObjectName getObjectName()
Get the object name

Returns:
the object name

getControllerContextNames

Set<Object> getControllerContextNames()
Get the controller context names.

Returns:
the names

getSimpleName

String getSimpleName()
Get the simple vfs name of the deployment unit. This is the simple name of the virtual file . vfs path ------------------- relative path deploy/some.ear "some.ear" deploy/some.ear/x.ejb "x.ejb" deploy/some.ear/y.sar "y.sar" deploy/some.ear/y.sar/z.rar "z.rar"

Returns:
the deployment unit simple path

getRelativePath

String getRelativePath()
Get the path of this deployment relative to the top of the deployment vfs path ------------------- relative path deploy/some.ear "" deploy/some.ear/x.ejb "/x.ejb" deploy/some.ear/y.sar "/y.sar" deploy/some.ear/y.sar/z.rar "/y.sar/z.rar"

Returns:
the top-level deployment relative path

getRelativeOrder

int getRelativeOrder()
Get the relative order

Returns:
the relative order

getComparator

Comparator<DeploymentContext> getComparator()
Get the comparator.

Returns:
the comparator.

getScope

org.jboss.metadata.spi.scope.ScopeKey getScope()
Get the scope

Returns:
the scope

getMutableScope

org.jboss.metadata.spi.scope.ScopeKey getMutableScope()
Get the mutable scope

Returns:
the mutable scope

getState

DeploymentState getState()
Get the deployment state

Returns:
the state

getClassLoaderName

ObjectName getClassLoaderName()
Gets the classloader for this deployment unit

Returns:
the classloader

isTopLevel

boolean isTopLevel()
Whether this is a top level deployment

Returns:
true when top level

getTopLevelName

ObjectName getTopLevelName()
Get the top level deployment

Returns:
the top level deployment

getParentName

ObjectName getParentName()
The parent

Returns:
the parent

getChildNames

List<ObjectName> getChildNames()
The children

Returns:
the children

isComponent

boolean isComponent()
Whether this is a component

Returns:
true when a component

getComponentNames

List<ObjectName> getComponentNames()
The components

Returns:
the components

getDependencyInfo

org.jboss.dependency.spi.DependencyInfo getDependencyInfo()
Get the dependency info

Returns:
the dependency

isDeployed

boolean isDeployed()
Whether the deployment was processed

Returns:
true when processed

getProblem

Throwable getProblem()
Get the problem for this context

Returns:
the problem


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