org.apache.aries.jpa.container.context
Interface PersistenceContextProvider
public interface PersistenceContextProvider
PERSISTENCE_CONTEXT_TYPE
static final String PERSISTENCE_CONTEXT_TYPE
- The key to use when storing the
PersistenceContextType
for this context
- See Also:
- Constant Field Values
PROXY_FACTORY_EMF_ATTRIBUTE
static final String PROXY_FACTORY_EMF_ATTRIBUTE
- The service property key indicating that a registered EMF is used to create
managed persistence contexts
- See Also:
- Constant Field Values
registerContext
void registerContext(String unitName,
Bundle client,
HashMap<String,Object> properties)
- This method will be called whenever a persistence context element is processed by the jpa
blueprint namespace handler.
- Parameters:
unitName
- The name of the persistence unitclient
- The blueprint bundle that declares the dependencyproperties
- Properties that should be used to create the persistence unit
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.