org.infinispan.config
Class GlobalConfiguration.ScheduledExecutorFactoryType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.GlobalConfiguration.FactoryClassWithPropertiesType
org.infinispan.config.GlobalConfiguration.ScheduledExecutorFactoryType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory>, JAXBUnmarshallable
- Enclosing class:
- GlobalConfiguration
public static class GlobalConfiguration.ScheduledExecutorFactoryType
- extends GlobalConfiguration.FactoryClassWithPropertiesType
- implements GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory>
- See Also:
- Configuration reference,
Serialized Form
factory
protected String factory
GlobalConfiguration.ScheduledExecutorFactoryType
public GlobalConfiguration.ScheduledExecutorFactoryType(String factory)
GlobalConfiguration.ScheduledExecutorFactoryType
public GlobalConfiguration.ScheduledExecutorFactoryType()
setFactory
public void setFactory(String factory)
clone
public GlobalConfiguration.ScheduledExecutorFactoryType clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class GlobalConfiguration.FactoryClassWithPropertiesType
- Throws:
CloneNotSupportedException
factory
public GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> factory(Class<? extends ScheduledExecutorFactory> clazz)
- Description copied from interface:
GlobalConfiguration.ExecutorFactoryConfig
- Specify factory class for executor
- Specified by:
factory
in interface GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory>
- Returns:
- this ExecutorFactoryConfig
addProperty
public Object addProperty(String key,
String value)
- Description copied from interface:
GlobalConfiguration.ExecutorFactoryConfig
- Add key/value property pair to this executor factory configuration
- Specified by:
addProperty
in interface GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory>
- Parameters:
key
- property keyvalue
- property value
- Returns:
- previous value if exists, null otherwise
withProperties
public GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> withProperties(Properties props)
- Description copied from interface:
GlobalConfiguration.ExecutorFactoryConfig
- Set key/value properties to this executor factory configuration
- Specified by:
withProperties
in interface GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory>
- Parameters:
props
- Prpperties
- Returns:
- this ExecutorFactoryConfig
inject
public void inject(GlobalComponentRegistry gcr)
hasComponentStarted
protected boolean hasComponentStarted()
- Description copied from class:
AbstractConfigurationBean
- Tests whether the component this configuration bean intents to configure has already started.
- Specified by:
hasComponentStarted
in class AbstractConfigurationBean
- Returns:
- true if the component has started; false otherwise.
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.