org.jboss.deployers.structure.spi.scope.helpers
Class DefaultScopeBuilder

java.lang.Object
  extended by org.jboss.deployers.structure.spi.scope.helpers.DefaultScopeBuilder
All Implemented Interfaces:
ScopeBuilder

public class DefaultScopeBuilder
extends Object
implements ScopeBuilder

DefaultScopeBuilder.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static DefaultScopeBuilder INSTANCE
          The singleton instance
 
Constructor Summary
DefaultScopeBuilder()
           
 
Method Summary
 org.jboss.metadata.spi.scope.ScopeKey getComponentScope(DeploymentContext context)
          Get the scope for a component
 org.jboss.metadata.spi.scope.ScopeKey getDeploymentScope(DeploymentContext context)
          Get the scope for a deployment
 org.jboss.metadata.spi.scope.ScopeKey getMutableComponentScope(DeploymentContext context)
          Get the mutable scope for a component
 org.jboss.metadata.spi.scope.ScopeKey getMutableDeploymentScope(DeploymentContext context)
          Get the mutable scope for a deployment
 void initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, DeploymentContext context)
          Initialise the metadata retrievals for a deployment context
 void initMutableMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, DeploymentContext context)
          Initialise the mutable metadata retrieval for a deployment context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultScopeBuilder INSTANCE
The singleton instance

Constructor Detail

DefaultScopeBuilder

public DefaultScopeBuilder()
Method Detail

getDeploymentScope

public org.jboss.metadata.spi.scope.ScopeKey getDeploymentScope(DeploymentContext context)
Description copied from interface: ScopeBuilder
Get the scope for a deployment

Specified by:
getDeploymentScope in interface ScopeBuilder
Parameters:
context - the context
Returns:
the key

getMutableDeploymentScope

public org.jboss.metadata.spi.scope.ScopeKey getMutableDeploymentScope(DeploymentContext context)
Description copied from interface: ScopeBuilder
Get the mutable scope for a deployment

Specified by:
getMutableDeploymentScope in interface ScopeBuilder
Parameters:
context - the context
Returns:
the key

getComponentScope

public org.jboss.metadata.spi.scope.ScopeKey getComponentScope(DeploymentContext context)
Description copied from interface: ScopeBuilder
Get the scope for a component

Specified by:
getComponentScope in interface ScopeBuilder
Parameters:
context - the context
Returns:
the key

getMutableComponentScope

public org.jboss.metadata.spi.scope.ScopeKey getMutableComponentScope(DeploymentContext context)
Description copied from interface: ScopeBuilder
Get the mutable scope for a component

Specified by:
getMutableComponentScope in interface ScopeBuilder
Parameters:
context - the context
Returns:
the key

initMetaDataRetrieval

public void initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                                  DeploymentContext context)
Description copied from interface: ScopeBuilder
Initialise the metadata retrievals for a deployment context

Specified by:
initMetaDataRetrieval in interface ScopeBuilder
Parameters:
repository - the repository
context - the context

initMutableMetaDataRetrieval

public void initMutableMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                                         DeploymentContext context)
Description copied from interface: ScopeBuilder
Initialise the mutable metadata retrieval for a deployment context

Specified by:
initMutableMetaDataRetrieval in interface ScopeBuilder
Parameters:
repository - the repository
context - the context


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