org.jboss.dependency.plugins
Class AbstractScopeInfo

java.lang.Object
  extended by org.jboss.dependency.plugins.AbstractScopeInfo
All Implemented Interfaces:
ScopeInfo

public class AbstractScopeInfo
extends Object
implements ScopeInfo

AbstractScopeInfo.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
AbstractScopeInfo(Object name)
          Create a new AbstractScopeInfo.
AbstractScopeInfo(Object name, String className)
          Create a new AbstractScopeInfo.
AbstractScopeInfo(org.jboss.metadata.spi.scope.ScopeKey key, org.jboss.metadata.spi.scope.ScopeKey mutable)
          Create a new AbstractScopeInfo.
 
Method Summary
 void addMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context)
          Add metadata
protected  void addMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository, ControllerContext context, org.jboss.metadata.plugins.loader.memory.MemoryMetaDataLoader mutable)
          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, org.jboss.metadata.spi.scope.Scope scope)
          Initialise the 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

AbstractScopeInfo

public AbstractScopeInfo(Object name)
Create a new AbstractScopeInfo.

Parameters:
name - the name

AbstractScopeInfo

public AbstractScopeInfo(Object name,
                         String className)
Create a new AbstractScopeInfo.

Parameters:
name - the name
className - the class name

AbstractScopeInfo

public AbstractScopeInfo(org.jboss.metadata.spi.scope.ScopeKey key,
                         org.jboss.metadata.spi.scope.ScopeKey mutable)
Create a new AbstractScopeInfo.

Parameters:
key - the scope key
mutable - the mutable scope key
Method Detail

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

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

addMetaData

protected void addMetaData(org.jboss.metadata.spi.repository.MutableMetaDataRepository repository,
                           ControllerContext context,
                           org.jboss.metadata.plugins.loader.memory.MemoryMetaDataLoader mutable)
Add metadata

Parameters:
repository - the repository
context - the context
mutable - the mutable

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

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