org.infinispan.config
Class GlobalConfiguration.ScheduledExecutorFactoryType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.GlobalConfiguration.FactoryClassWithPropertiesType
          extended by 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

Field Summary
protected  String factory
           
 
Fields inherited from class org.infinispan.config.GlobalConfiguration.FactoryClassWithPropertiesType
properties
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
GlobalConfiguration.ScheduledExecutorFactoryType()
           
GlobalConfiguration.ScheduledExecutorFactoryType(String factory)
           
 
Method Summary
 Object addProperty(String key, String value)
          Add key/value property pair to this executor factory configuration
 GlobalConfiguration.ScheduledExecutorFactoryType clone()
           
 GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> factory(Class<? extends ScheduledExecutorFactory> clazz)
          Specify factory class for executor
protected  boolean hasComponentStarted()
          Tests whether the component this configuration bean intents to configure has already started.
 void inject(GlobalComponentRegistry gcr)
           
 void setFactory(String factory)
           
 GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> withProperties(Properties props)
          Set key/value properties to this executor factory configuration
 
Methods inherited from class org.infinispan.config.GlobalConfiguration.FactoryClassWithPropertiesType
accept, getProperties, setProperties
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected String factory
Constructor Detail

GlobalConfiguration.ScheduledExecutorFactoryType

public GlobalConfiguration.ScheduledExecutorFactoryType(String factory)

GlobalConfiguration.ScheduledExecutorFactoryType

public GlobalConfiguration.ScheduledExecutorFactoryType()
Method Detail

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 key
value - 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.