public class BatchBuilderImpl extends Object implements BatchBuilder, Configurable
Batch instances.| Constructor and Description | 
|---|
BatchBuilderImpl()
Constructs a BatchBuilderImpl 
 | 
BatchBuilderImpl(int size)
Constructs a BatchBuilderImpl 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
public BatchBuilderImpl()
public BatchBuilderImpl(int size)
size - The batch size to use.public void configure(Map configurationValues)
Configurableconfigure in interface ConfigurableconfigurationValues - The configuration properties.public void setJdbcBatchSize(int size)
public Batch buildBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)
BatchBuilderbuildBatch in interface BatchBuilderkey - Value to uniquely identify a batchjdbcCoordinator - The JDBC coordinator with which to coordinate effortspublic String getManagementDomain()
Manageablenull to indicate Hibernate's
 default domain (org.hibernate.core) should be used.getManagementDomain in interface Manageablepublic String getManagementServiceType()
Manageablenull indicates
 we should use the default scheme, which is to use the name of the service impl class for this purpose.getManagementServiceType in interface Manageablepublic Object getManagementBean()
ManageablegetManagementBean in interface ManageableCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.