|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.engine.jdbc.batch.internal.BatchBuilderImpl
public class BatchBuilderImpl
A builder for Batch
instances.
Constructor Summary | |
---|---|
BatchBuilderImpl()
|
|
BatchBuilderImpl(int size)
|
Method Summary | |
---|---|
Batch |
buildBatch(BatchKey key,
JdbcCoordinator jdbcCoordinator)
Build a batch. |
void |
configure(Map configurationValues)
Configure the service. |
Object |
getManagementBean()
The the management bean (MBean) for this service. |
String |
getManagementDomain()
Get the domain name to be used in registering the management bean. |
String |
getManagementServiceType()
Allows the service to specify a special 'serviceType' portion of the object name. |
void |
setJdbcBatchSize(int size)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchBuilderImpl()
public BatchBuilderImpl(int size)
Method Detail |
---|
public void configure(Map configurationValues)
Configurable
configure
in interface Configurable
configurationValues
- The configuration properties.public void setJdbcBatchSize(int size)
public Batch buildBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)
BatchBuilder
buildBatch
in interface BatchBuilder
key
- Value to uniquely identify a batchjdbcCoordinator
- The JDBC coordinator with which to coordinate efforts
public String getManagementDomain()
Manageable
null
to indicate Hibernate's
default domain (org.hibernate.core
) should be used.
getManagementDomain
in interface Manageable
public String getManagementServiceType()
Manageable
null
indicates
we should use the default scheme, which is to use the name of the service impl class for this purpose.
getManagementServiceType
in interface Manageable
public Object getManagementBean()
Manageable
getManagementBean
in interface Manageable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |