org.apache.aries.jpa.container.context
Interface PersistenceContextProvider
public interface PersistenceContextProvider
|
Field Summary |
static java.lang.String |
PERSISTENCE_CONTEXT_TYPE
The key to use when storing the PersistenceContextType for this context |
static java.lang.String |
PROXY_FACTORY_EMF_ATTRIBUTE
The service property key indicating that a registered EMF is used to create
managed persistence contexts |
|
Method Summary |
void |
registerContext(java.lang.String unitName,
org.osgi.framework.Bundle client,
java.util.HashMap<java.lang.String,java.lang.Object> properties)
This method will be called whenever a persistence context element is processed by the jpa
blueprint namespace handler. |
PERSISTENCE_CONTEXT_TYPE
static final java.lang.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 java.lang.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(java.lang.String unitName,
org.osgi.framework.Bundle client,
java.util.HashMap<java.lang.String,java.lang.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-2012 The Apache Software Foundation. All Rights Reserved.