public class CacheEventDispatcherFactoryConfiguration extends java.lang.Object implements ServiceCreationConfiguration<CacheEventDispatcherFactory,java.lang.String>
ServiceCreationConfiguration
class for the default CacheEventDispatcherFactory
.
Enables configuring the default thread pool alias to be used by the
CacheEventDispatcher
s
Constructor and Description |
---|
CacheEventDispatcherFactoryConfiguration(java.lang.String threadPoolAlias)
Creates a new configuration with the provided default pool alias.
|
Modifier and Type | Method and Description |
---|---|
CacheEventDispatcherFactoryConfiguration |
build(java.lang.String alias)
Construct a new configuration from the given detached representation.
|
java.lang.String |
derive()
Derive a detached representation from this configuration
|
java.lang.Class<CacheEventDispatcherFactory> |
getServiceType()
Indicates which service consumes this configuration at creation.
|
java.lang.String |
getThreadPoolAlias()
Returns the default thread pool alias.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compatibleWith
public CacheEventDispatcherFactoryConfiguration(java.lang.String threadPoolAlias)
threadPoolAlias
- the pool aliaspublic java.lang.String getThreadPoolAlias()
public java.lang.Class<CacheEventDispatcherFactory> getServiceType()
getServiceType
in interface ServiceCreationConfiguration<CacheEventDispatcherFactory,java.lang.String>
public java.lang.String derive()
ServiceCreationConfiguration
derive
in interface ServiceCreationConfiguration<CacheEventDispatcherFactory,java.lang.String>
public CacheEventDispatcherFactoryConfiguration build(java.lang.String alias)
ServiceCreationConfiguration
build
in interface ServiceCreationConfiguration<CacheEventDispatcherFactory,java.lang.String>
alias
- a detached representation