org.jboss.repository.spi
Interface KernelRepository

All Known Implementing Classes:
AbstractKernelRepository, BasicKernelRepository

public interface KernelRepository

Version:
$Revision: 1.2 $
Author:
Scott.Stark@jboss.org

Method Summary
 MetaData addMetaData(Key key, MetaData data)
           
 Iterator findKeys(String nameRE, Map attributes)
          Query the repository for keys matching the name regular expression and attribute value regular expressions.
 Map getAllMetaData(Key key)
          Get the MetaData for the key and all its subkeys
 Iterator getKeyNames()
          Get the current repository keys
 Object getMetaData(Key key)
           
 Object getMetaData(Key key, MetaDataCombiner combiner)
           
 void loadMetaData(MetaDataLoader loader)
           
 MetaData removeMetaData(Key key)
           
 

Method Detail

getMetaData

Object getMetaData(Key key)

getMetaData

Object getMetaData(Key key,
                   MetaDataCombiner combiner)

getAllMetaData

Map getAllMetaData(Key key)
Get the MetaData for the key and all its subkeys

Parameters:
key -
Returns:
Map for the key and matching subkeys

addMetaData

MetaData addMetaData(Key key,
                     MetaData data)
Parameters:
key -
data -

removeMetaData

MetaData removeMetaData(Key key)

loadMetaData

void loadMetaData(MetaDataLoader loader)
Parameters:
loader -

getKeyNames

Iterator getKeyNames()
Get the current repository keys

Returns:
Iterator of the repository keys

findKeys

Iterator findKeys(String nameRE,
                  Map attributes)
Query the repository for keys matching the name regular expression and attribute value regular expressions.

Parameters:
nameRE -
attributes -
Returns:
Iterator of the matching keys


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.