public class BatchJBeret<T extends BatchJBeret<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchJBeret.BatchJBeretResources
Child mutators for BatchJBeret
|
Constructor and Description |
---|
BatchJBeret() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
defaultJobRepository()
The name of the default job repository.
|
T |
defaultJobRepository(String value)
The name of the default job repository.
|
String |
defaultThreadPool()
The name of the default thread-pool.
|
T |
defaultThreadPool(String value)
The name of the default thread-pool.
|
String |
getKey() |
T |
inMemoryJobRepositories(List<InMemoryJobRepository> value)
Add all InMemoryJobRepository objects to this subresource
|
T |
inMemoryJobRepository(InMemoryJobRepository value)
Add the InMemoryJobRepository object to the list of subresources
|
T |
inMemoryJobRepository(InMemoryJobRepositorySupplier supplier)
Install a supplied InMemoryJobRepository object to the list of
subresources
|
T |
inMemoryJobRepository(String childKey)
Create and configure a InMemoryJobRepository object to the list of
subresources
|
T |
inMemoryJobRepository(String childKey,
InMemoryJobRepositoryConsumer consumer)
Create and configure a InMemoryJobRepository object to the list of
subresources
|
T |
jdbcJobRepositories(List<JDBCJobRepository> value)
Add all JDBCJobRepository objects to this subresource
|
T |
jdbcJobRepository(JDBCJobRepository value)
Add the JDBCJobRepository object to the list of subresources
|
T |
jdbcJobRepository(JDBCJobRepositorySupplier supplier)
Install a supplied JDBCJobRepository object to the list of subresources
|
T |
jdbcJobRepository(String childKey)
Create and configure a JDBCJobRepository object to the list of
subresources
|
T |
jdbcJobRepository(String childKey,
JDBCJobRepositoryConsumer consumer)
Create and configure a JDBCJobRepository object to the list of
subresources
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
restartJobsOnResume()
If set to true when a resume operation has be invoked after a suspend
operation any jobs stopped during the suspend will be restarted.
|
T |
restartJobsOnResume(Boolean value)
If set to true when a resume operation has be invoked after a suspend
operation any jobs stopped during the suspend will be restarted.
|
String |
securityDomain()
References the security domain for batch jobs.
|
T |
securityDomain(String value)
References the security domain for batch jobs.
|
BatchJBeret.BatchJBeretResources |
subresources() |
T |
threadFactories(List<ThreadFactory> value)
Add all ThreadFactory objects to this subresource
|
T |
threadFactory(String childKey)
Create and configure a ThreadFactory object to the list of subresources
|
T |
threadFactory(String childKey,
ThreadFactoryConsumer consumer)
Create and configure a ThreadFactory object to the list of subresources
|
T |
threadFactory(ThreadFactory value)
Add the ThreadFactory object to the list of subresources
|
T |
threadFactory(ThreadFactorySupplier supplier)
Install a supplied ThreadFactory object to the list of subresources
|
T |
threadPool(String childKey)
Create and configure a ThreadPool object to the list of subresources
|
T |
threadPool(String childKey,
ThreadPoolConsumer consumer)
Create and configure a ThreadPool object to the list of subresources
|
T |
threadPool(ThreadPool value)
Add the ThreadPool object to the list of subresources
|
T |
threadPool(ThreadPoolSupplier supplier)
Install a supplied ThreadPool object to the list of subresources
|
T |
threadPools(List<ThreadPool> value)
Add all ThreadPool objects to this subresource
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public BatchJBeret.BatchJBeretResources subresources()
public T jdbcJobRepositories(List<JDBCJobRepository> value)
value
- List of JDBCJobRepository objects.public T jdbcJobRepository(JDBCJobRepository value)
value
- The JDBCJobRepository to addpublic T jdbcJobRepository(String childKey, JDBCJobRepositoryConsumer consumer)
key
- The key for the JDBCJobRepository resourceconfig
- The JDBCJobRepositoryConsumer to usepublic T jdbcJobRepository(String childKey)
key
- The key for the JDBCJobRepository resourcepublic T jdbcJobRepository(JDBCJobRepositorySupplier supplier)
public T threadFactories(List<ThreadFactory> value)
value
- List of ThreadFactory objects.public T threadFactory(ThreadFactory value)
value
- The ThreadFactory to addpublic T threadFactory(String childKey, ThreadFactoryConsumer consumer)
key
- The key for the ThreadFactory resourceconfig
- The ThreadFactoryConsumer to usepublic T threadFactory(String childKey)
key
- The key for the ThreadFactory resourcepublic T threadFactory(ThreadFactorySupplier supplier)
public T threadPools(List<ThreadPool> value)
value
- List of ThreadPool objects.public T threadPool(ThreadPool value)
value
- The ThreadPool to addpublic T threadPool(String childKey, ThreadPoolConsumer consumer)
key
- The key for the ThreadPool resourceconfig
- The ThreadPoolConsumer to usepublic T threadPool(String childKey)
key
- The key for the ThreadPool resourcepublic T threadPool(ThreadPoolSupplier supplier)
public T inMemoryJobRepositories(List<InMemoryJobRepository> value)
value
- List of InMemoryJobRepository objects.public T inMemoryJobRepository(InMemoryJobRepository value)
value
- The InMemoryJobRepository to addpublic T inMemoryJobRepository(String childKey, InMemoryJobRepositoryConsumer consumer)
key
- The key for the InMemoryJobRepository resourceconfig
- The InMemoryJobRepositoryConsumer to usepublic T inMemoryJobRepository(String childKey)
key
- The key for the InMemoryJobRepository resourcepublic T inMemoryJobRepository(InMemoryJobRepositorySupplier supplier)
public String defaultJobRepository()
public T defaultJobRepository(String value)
public String defaultThreadPool()
public Boolean restartJobsOnResume()
public T restartJobsOnResume(Boolean value)
public String securityDomain()
Copyright © 2019 JBoss by Red Hat. All rights reserved.