Uses of Interface
org.apache.openjpa.kernel.Broker
-
Packages that use Broker Package Description org.apache.openjpa.audit OpenJPA Audit Facilityorg.apache.openjpa.event OpenJPA Eventsorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.util.proxy -
-
Uses of Broker in org.apache.openjpa.audit
Methods in org.apache.openjpa.audit with parameters of type Broker Modifier and Type Method Description voidAuditLogger. audit(Broker broker, Collection<Audited> newObjects, Collection<Audited> updates, Collection<Audited> deletes)voidAuditor. audit(Broker broker, Collection<Audited> newObjects, Collection<Audited> updates, Collection<Audited> deletes)OpenJPA runtime will invoke this method with the given parameters within a transaction. -
Uses of Broker in org.apache.openjpa.event
Constructors in org.apache.openjpa.event with parameters of type Broker Constructor Description TransactionEvent(Broker broker, int type, Collection objs, Collection addClss, Collection updateClss, Collection deleteClss)Constructor. -
Uses of Broker in org.apache.openjpa.kernel
Classes in org.apache.openjpa.kernel that implement Broker Modifier and Type Class Description classBrokerImplConcreteBroker.classDelegatingBrokerDelegating broker that can also perform exception translation for use in facades.classFinalizingBrokerImplSubtype ofBrokerImplthat automatically closes itself during finalization.Methods in org.apache.openjpa.kernel that return Broker Modifier and Type Method Description protected BrokerAbstractBrokerFactory. findBroker(String user, String pass, boolean managed)Find a pooled broker, or return null if none.protected BrokerAbstractBrokerFactory. findTransactionalBroker(String user, String pass)Find a managed runtime broker associated with the current transaction, or returns null if none.protected BrokerAuditManager. getBroker(PersistenceCapable pc)Extracts the broker from the given persistence capable instance.BrokerBrokerImpl. getBroker()BrokerDelegatingBroker. getBroker()BrokerDelegatingExtent. getBroker()BrokerDelegatingQuery. getBroker()BrokerExtent. getBroker()The broker that generated the extent.BrokerExtentImpl. getBroker()BrokerOpenJPASavepoint. getBroker()Return the Broker associated with this savepoint.BrokerQuery. getBroker()The broker that generated this query.BrokerQueryImpl. getBroker()BrokerStoreContext. getBroker()Return the broker for this context, if possible.BrokerDelegatingBroker. getDelegate()Return the direct delegate.BrokerDelegatingBroker. getInnermostDelegate()Return the native delegate.BrokerAbstractBrokerFactory. newBroker()BrokerAbstractBrokerFactory. newBroker(boolean managed, int connRetainMode)BrokerAbstractBrokerFactory. newBroker(String user, String pass)BrokerAbstractBrokerFactory. newBroker(String user, String pass, boolean managed, int connRetainMode)BrokerAbstractBrokerFactory. newBroker(String user, String pass, boolean managed, int connRetainMode, boolean findExisting)BrokerAbstractBrokerFactory. newBroker(String user, String pass, boolean managed, int connRetainMode, boolean findExisting, String cf1Name, String cf2Name)BrokerBrokerFactory. newBroker()Return a broker with default settings.BrokerBrokerFactory. 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.BrokerBrokerFactory. 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 connectionFactoriesBrokerDelegatingBrokerFactory. newBroker()BrokerDelegatingBrokerFactory. newBroker(String user, String pass, boolean managed, int connRetainMode, boolean findExisting)BrokerDelegatingBrokerFactory. newBroker(String user, String pass, boolean managed, int connRetainMode, boolean findExisting, String cfName, String cf2Name)Methods in org.apache.openjpa.kernel that return types with arguments of type Broker Modifier and Type Method Description 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 Modifier and Type Method Description protected voidAbstractBrokerFactory. addListeners(Broker broker)Add factory-registered lifecycle listeners to the broker.static booleanQueryImpl. isAccessPathDirty(Broker broker, ClassMetaData[] accessMetas)static BrokerImpl.StateManagerIdBrokerImpl.StateManagerId. newInstance(Broker b)OpenJPASavepointInMemorySavepointManager. newSavepoint(String name, Broker broker)OpenJPASavepointSavepointManager. newSavepoint(String name, Broker broker)Return a new savepoint for the given name, which may be null.MapPreparedQuery. 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 Constructor Description 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.util.proxy
Methods in org.apache.openjpa.util.proxy that return Broker Modifier and Type Method Description BrokerDelayedArrayListProxy. getBroker()BrokerDelayedHashSetProxy. getBroker()BrokerDelayedLinkedHashSetProxy. getBroker()BrokerDelayedLinkedListProxy. getBroker()BrokerDelayedPriorityQueueProxy. getBroker()BrokerDelayedProxy. getBroker()Get the broker that is used to service this proxy.BrokerDelayedTreeSetProxy. getBroker()BrokerDelayedVectorProxy. getBroker()
-