org.apache.aries.jpa.container.parsing
Interface PersistenceDescriptorParser


public interface PersistenceDescriptorParser

A utility service for parsing JPA persistence descriptors


Method Summary
 Collection<ParsedPersistenceUnit> parse(Bundle b, PersistenceDescriptor descriptor)
          Parse the supplied PersistenceDescriptor
 

Method Detail

parse

Collection<ParsedPersistenceUnit> parse(Bundle b,
                                        PersistenceDescriptor descriptor)
                                        throws PersistenceDescriptorParserException
Parse the supplied PersistenceDescriptor

Parameters:
b - The bundle that contains the persistence descriptor
descriptor - The descriptor
Returns:
A collection of ParsedPersistenceUnit
Throws:
PersistenceDescriptorParserException - if any error occurs in parsing


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.