org.jboss.dependency.spi.helpers
Class UnmodifiableScopeInfo

java.lang.Object
  extended by org.jboss.dependency.spi.helpers.UnmodifiableScopeInfo
All Implemented Interfaces:
ScopeInfo

public class UnmodifiableScopeInfo
extends Object
implements ScopeInfo

UnmodifiableScopeInfo.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
UnmodifiableScopeInfo(ScopeInfo delegate)
          Create a new UnmodifiableScopeInfo.
 
Method Summary
 void addMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context)
          Add metadata
 org.jboss.metadata.spi.scope.ScopeKey getInstallScope()
          Get the install scope
 org.jboss.metadata.spi.MetaData getMetaData()
          Get the metadata
 org.jboss.metadata.spi.scope.ScopeKey getMutableScope()
          Get the mutable scope
 org.jboss.metadata.spi.scope.ScopeKey getScope()
          Get the scope
 org.jboss.metadata.spi.retrieval.MetaDataRetrieval initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context)
          Initialise the main metadata retrieval
 org.jboss.metadata.spi.retrieval.MetaDataRetrieval initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context, org.jboss.metadata.spi.scope.Scope scope)
          Initialise the metadata retrieval
 org.jboss.metadata.spi.loader.MutableMetaDataLoader initMutableMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context, org.jboss.metadata.spi.scope.ScopeKey scopeKey)
          Initialise the main mutable metadata retrieval.
 void removeMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context)
          Add metadata
 void setInstallScope(org.jboss.metadata.spi.scope.ScopeKey key)
          Set the install scope
 void setMutableScope(org.jboss.metadata.spi.scope.ScopeKey key)
          Set the mutable scope
 void setScope(org.jboss.metadata.spi.scope.ScopeKey key)
          Set the scope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmodifiableScopeInfo

public UnmodifiableScopeInfo(ScopeInfo delegate)
Create a new UnmodifiableScopeInfo.

Parameters:
delegate - the delegate
Method Detail

addMetaData

public void addMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                        ControllerContext context)
Description copied from interface: ScopeInfo
Add metadata

Specified by:
addMetaData in interface ScopeInfo
Parameters:
repository - the repository
context - the controller context

removeMetaData

public void removeMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                           ControllerContext context)
Description copied from interface: ScopeInfo
Add metadata

Specified by:
removeMetaData in interface ScopeInfo
Parameters:
repository - the repository
context - the controller context

initMetaDataRetrieval

public org.jboss.metadata.spi.retrieval.MetaDataRetrieval initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                                                                                ControllerContext context,
                                                                                org.jboss.metadata.spi.scope.Scope scope)
Description copied from interface: ScopeInfo
Initialise the metadata retrieval

Specified by:
initMetaDataRetrieval in interface ScopeInfo
Parameters:
repository - the repository
context - the context
scope - the scope level
Returns:
the retrieval

initMetaDataRetrieval

public org.jboss.metadata.spi.retrieval.MetaDataRetrieval initMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                                                                                ControllerContext context)
Description copied from interface: ScopeInfo
Initialise the main metadata retrieval

Specified by:
initMetaDataRetrieval in interface ScopeInfo
Parameters:
repository - the repository
context - the context
Returns:
the retrieval

initMutableMetaDataRetrieval

public org.jboss.metadata.spi.loader.MutableMetaDataLoader initMutableMetaDataRetrieval(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                                                                                        ControllerContext context,
                                                                                        org.jboss.metadata.spi.scope.ScopeKey scopeKey)
Description copied from interface: ScopeInfo
Initialise the main mutable metadata retrieval.

Specified by:
initMutableMetaDataRetrieval in interface ScopeInfo
Parameters:
repository - the mutable metadata repository
context - the controller context
scopeKey - the scope key
Returns:
new mutable metadata loader instance

getMetaData

public org.jboss.metadata.spi.MetaData getMetaData()
Description copied from interface: ScopeInfo
Get the metadata

Specified by:
getMetaData in interface ScopeInfo
Returns:
the metadata

getScope

public org.jboss.metadata.spi.scope.ScopeKey getScope()
Description copied from interface: ScopeInfo
Get the scope

Specified by:
getScope in interface ScopeInfo
Returns:
the scope

setScope

public void setScope(org.jboss.metadata.spi.scope.ScopeKey key)
Description copied from interface: ScopeInfo
Set the scope

Specified by:
setScope in interface ScopeInfo
Parameters:
key - the scope key

getMutableScope

public org.jboss.metadata.spi.scope.ScopeKey getMutableScope()
Description copied from interface: ScopeInfo
Get the mutable scope

Specified by:
getMutableScope in interface ScopeInfo
Returns:
the scope

setMutableScope

public void setMutableScope(org.jboss.metadata.spi.scope.ScopeKey key)
Description copied from interface: ScopeInfo
Set the mutable scope

Specified by:
setMutableScope in interface ScopeInfo
Parameters:
key - the scope key

getInstallScope

public org.jboss.metadata.spi.scope.ScopeKey getInstallScope()
Description copied from interface: ScopeInfo
Get the install scope

Specified by:
getInstallScope in interface ScopeInfo
Returns:
the scope

setInstallScope

public void setInstallScope(org.jboss.metadata.spi.scope.ScopeKey key)
Description copied from interface: ScopeInfo
Set the install scope

Specified by:
setInstallScope in interface ScopeInfo
Parameters:
key - the scope key


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