org.apache.onami.persist
Interface UnannotatedPersistenceUnitBuilder

All Superinterfaces:
AnnotatedPersistenceUnitBuilder, UnconfiguredPersistenceUnitBuilder

public interface UnannotatedPersistenceUnitBuilder
extends AnnotatedPersistenceUnitBuilder

2nd step of the persistence unit builder process. Define an annotation


Method Summary
 AnnotatedPersistenceUnitBuilder annotatedWith(Class<? extends Annotation> annotation)
          Defines an annotation for the persistence unit.
 
Methods inherited from interface org.apache.onami.persist.AnnotatedPersistenceUnitBuilder
useGlobalTransaction, useGlobalTransactionProvidedBy, useGlobalTransactionProvidedBy, useGlobalTransactionProvidedBy, useGlobalTransactionProvidedBy, useGlobalTransactionWithJndiName, useLocalTransaction
 
Methods inherited from interface org.apache.onami.persist.UnconfiguredPersistenceUnitBuilder
setProperties
 

Method Detail

annotatedWith

AnnotatedPersistenceUnitBuilder annotatedWith(Class<? extends Annotation> annotation)
Defines an annotation for the persistence unit.

Parameters:
annotation - the annotation to use when referencing the persistence unit.
Returns:
the next builder step.


Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.