|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Broker | |
---|---|
org.apache.openjpa.event | OpenJPA Events |
org.apache.openjpa.jdbc.kernel | OpenJPA-JDBC Runtime Kernel |
org.apache.openjpa.kernel | OpenJPA Runtime Kernel |
org.apache.openjpa.persistence | OpenJPA JPA |
org.apache.openjpa.slice | Extended OpenJPA Interfaces for distributed databases. |
Uses of Broker in org.apache.openjpa.event |
---|
Constructors in org.apache.openjpa.event with parameters of type Broker | |
---|---|
TransactionEvent(Broker broker,
int type,
Collection objs,
Collection addClss,
Collection updateClss,
Collection deleteClss)
Constructor. |
Uses of Broker in org.apache.openjpa.jdbc.kernel |
---|
Methods in org.apache.openjpa.jdbc.kernel with parameters of type Broker | |
---|---|
OpenJPASavepoint |
AbstractJDBCSavepointManager.newSavepoint(String name,
Broker broker)
|
Map<Integer,Object> |
PreparedQueryImpl.reparametrize(Map user,
Broker broker)
Merge the given user parameters with its own parameter. |
Constructors in org.apache.openjpa.jdbc.kernel with parameters of type Broker | |
---|---|
AbstractJDBCSavepointManager.ConnectionSavepoint(Broker broker,
String name,
boolean copy)
|
Uses of Broker in org.apache.openjpa.kernel |
---|
Classes in org.apache.openjpa.kernel that implement Broker | |
---|---|
class |
BrokerImpl
Concrete Broker . |
class |
DelegatingBroker
Delegating broker that can also perform exception translation for use in facades. |
class |
FinalizingBrokerImpl
Subtype of BrokerImpl that automatically closes itself during
finalization. |
Methods in org.apache.openjpa.kernel that return Broker | |
---|---|
protected Broker |
AbstractBrokerFactory.findBroker(String user,
String pass,
boolean managed)
Find a pooled broker, or return null if none. |
protected Broker |
AbstractBrokerFactory.findTransactionalBroker(String user,
String pass)
Find a managed runtime broker associated with the current transaction, or returns null if none. |
Broker |
StoreContext.getBroker()
Return the broker for this context, if possible. |
Broker |
QueryImpl.getBroker()
|
Broker |
Query.getBroker()
The broker that generated this query. |
Broker |
OpenJPASavepoint.getBroker()
Return the Broker associated with this savepoint. |
Broker |
ExtentImpl.getBroker()
|
Broker |
Extent.getBroker()
The broker that generated the extent. |
Broker |
DelegatingQuery.getBroker()
|
Broker |
DelegatingExtent.getBroker()
|
Broker |
DelegatingBroker.getBroker()
|
Broker |
BrokerImpl.getBroker()
|
Broker |
DelegatingBroker.getDelegate()
Return the direct delegate. |
Broker |
DelegatingBroker.getInnermostDelegate()
Return the native delegate. |
Broker |
DelegatingBrokerFactory.newBroker()
|
Broker |
BrokerFactory.newBroker()
Return a broker with default settings. |
Broker |
AbstractBrokerFactory.newBroker()
|
Broker |
AbstractBrokerFactory.newBroker(boolean managed,
int connRetainMode)
|
Broker |
AbstractBrokerFactory.newBroker(String user,
String pass)
|
Broker |
AbstractBrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode)
|
Broker |
DelegatingBrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting)
|
Broker |
BrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting)
Return a broker using the given credentials and in the given transaction and connection retain mode, optionally finding existing broker in the global transaction. |
Broker |
AbstractBrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting)
|
Broker |
DelegatingBrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting,
String cfName,
String cf2Name)
|
Broker |
BrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting,
String cfName,
String cf2Name)
Return a new broker using the supplied credentials transaction management mode connectionRetainMode connectionFactories |
Broker |
AbstractBrokerFactory.newBroker(String user,
String pass,
boolean managed,
int connRetainMode,
boolean findExisting,
String cf1Name,
String cf2Name)
|
Methods in org.apache.openjpa.kernel that return types with arguments of type Broker | |
---|---|
Collection<Broker> |
AbstractBrokerFactory.getOpenBrokers()
Returns a set of all the open brokers associated with this factory. |
Methods in org.apache.openjpa.kernel with parameters of type Broker | |
---|---|
protected void |
AbstractBrokerFactory.addListeners(Broker broker)
Add factory-registered lifecycle listeners to the broker. |
static boolean |
QueryImpl.isAccessPathDirty(Broker broker,
ClassMetaData[] accessMetas)
|
OpenJPASavepoint |
SavepointManager.newSavepoint(String name,
Broker broker)
Return a new savepoint for the given name, which may be null. |
OpenJPASavepoint |
InMemorySavepointManager.newSavepoint(String name,
Broker broker)
|
Map |
PreparedQuery.reparametrize(Map user,
Broker broker)
Get the list of parameters in a map where an entry represents a parameter key and value after replacing with the given user parameters. |
Constructors in org.apache.openjpa.kernel with parameters of type Broker | |
---|---|
DelegatingBroker(Broker broker)
Constructor; supply delegate. |
|
DelegatingBroker(Broker broker,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator. |
|
OpenJPASavepoint(Broker broker,
String name,
boolean copy)
Constructor. |
|
QueryImpl(Broker broker,
String language,
StoreQuery storeQuery)
Construct a query managed by the given broker. |
Uses of Broker in org.apache.openjpa.persistence |
---|
Methods in org.apache.openjpa.persistence that return Broker | |
---|---|
Broker |
EntityManagerImpl.getBroker()
Broker delegate. |
static Broker |
OpenJPAPersistence.toBroker(EntityManager em)
Deprecated. use JPAFacadeHelper instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization. |
static Broker |
JPAFacadeHelper.toBroker(EntityManager em)
Return the underlying broker for the given entity manager facade. |
Methods in org.apache.openjpa.persistence with parameters of type Broker | |
---|---|
protected EntityManagerImpl |
EntityManagerFactoryImpl.newEntityManagerImpl(Broker broker)
Create a new entity manager around the given broker. |
static OpenJPAEntityManager |
OpenJPAPersistence.toEntityManager(Broker broker)
Deprecated. use JPAFacadeHelper instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization. |
static OpenJPAEntityManager |
JPAFacadeHelper.toEntityManager(Broker broker)
Return a persistence manager facade to the given broker retaining previously associated persistence context type. |
Constructors in org.apache.openjpa.persistence with parameters of type Broker | |
---|---|
EntityManagerImpl(EntityManagerFactoryImpl factory,
Broker broker)
Constructor; supply factory and delegate. |
Uses of Broker in org.apache.openjpa.slice |
---|
Subinterfaces of Broker in org.apache.openjpa.slice | |
---|---|
interface |
DistributedBroker
Extension to Broker to allow dynamically add/remove slices. |
Classes in org.apache.openjpa.slice that implement Broker | |
---|---|
class |
DistributedBrokerImpl
A specialized Broker to associate slice identifiers with the StateManagers as they are persisted in a cascade. |
Constructors in org.apache.openjpa.slice with parameters of type Broker | |
---|---|
DistributedQueryImpl(Broker broker,
String language,
StoreQuery storeQuery)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |