org.apache.aries.jpa.container.context
Interface PersistenceContextProvider


public interface PersistenceContextProvider


Field Summary
static String PERSISTENCE_CONTEXT_TYPE
          The key to use when storing the PersistenceContextType for this context
static 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(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.
 

Field Detail

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
Method Detail

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 unit
client - The blueprint bundle that declares the dependency
properties - Properties that should be used to create the persistence unit


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