org.edg.security.authorization.repository
Interface AttributeRepositoryCreator

All Known Implementing Classes:
And, Map, Or, VOMS

public interface AttributeRepositoryCreator

Defines an interface that creates an AttributeRepository from and XML snippet.

Version:
$Id: AttributeRepositoryCreator.java,v 1.6 2003/02/21 01:10:46 mulmo Exp $
Author:
Olle Mulmo
See Also:
AttributeRepository, Insert 'the right' copyright

Method Summary
 AttributeRepository create(AttributeRepositoryFactory factory, org.w3c.dom.Element config)
          Creates and initializes an attribute repository according to the specified configuration.
 

Method Detail

create

public AttributeRepository create(AttributeRepositoryFactory factory,
                                  org.w3c.dom.Element config)
                           throws java.lang.Exception
Creates and initializes an attribute repository according to the specified configuration.

Parameters:
factory - The factory to which this repository belongs
config - The XML snippet with the required configuration
Returns:
AttributeRepository The initialized instance
Throws:
java.lang.Exception - in case of an error