Enum Class ThreadPoolResourceDefinitionRegistrar
java.lang.Object
java.lang.Enum<ThreadPoolResourceDefinitionRegistrar>
org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceDefinitionRegistrar
- All Implemented Interfaces:
Serializable,Comparable<ThreadPoolResourceDefinitionRegistrar>,Constable,ThreadPoolResourceRegistration,org.jboss.as.controller.Feature,org.jboss.as.controller.ResourceRegistration,org.wildfly.service.descriptor.ServiceDescriptor<ThreadPoolConfiguration>,org.wildfly.service.descriptor.UnaryServiceDescriptor<ThreadPoolConfiguration>,org.wildfly.subsystem.resource.ChildResourceDefinitionRegistrar,org.wildfly.subsystem.resource.ResourceDefinitionRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>,org.wildfly.subsystem.service.ResourceServiceConfigurator
public enum ThreadPoolResourceDefinitionRegistrar
extends Enum<ThreadPoolResourceDefinitionRegistrar>
implements org.wildfly.subsystem.resource.ChildResourceDefinitionRegistrar, ThreadPoolResourceRegistration, org.wildfly.subsystem.service.ResourceServiceConfigurator
Registers a resource definition for a JGroups thread pool.
- Version:
- Aug 2014
- Author:
- Radoslav Husar, Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.jboss.as.controller.ResourceRegistration
org.jboss.as.controller.ResourceRegistration.DefaultResourceRegistrationNested classes/interfaces inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
org.wildfly.service.descriptor.UnaryServiceDescriptor.Provider<T extends Object> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.subsystem.service.ResourceServiceInstallerconfigure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) org.jboss.as.controller.AttributeDefinitionorg.jboss.as.controller.AttributeDefinitionorg.jboss.as.controller.PathElementorg.jboss.as.controller.registry.ManagementResourceRegistrationregister(org.jboss.as.controller.registry.ManagementResourceRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.jboss.as.controller.Feature
getStabilityMethods inherited from interface org.jboss.as.clustering.jgroups.subsystem.ThreadPoolResourceRegistration
getName, getTypeMethods inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
asType, resolve
-
Enum Constant Details
-
DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
register
public org.jboss.as.controller.registry.ManagementResourceRegistration register(org.jboss.as.controller.registry.ManagementResourceRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context) - Specified by:
registerin interfaceorg.wildfly.subsystem.resource.ResourceDefinitionRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
configure
public org.wildfly.subsystem.service.ResourceServiceInstaller configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException - Specified by:
configurein interfaceorg.wildfly.subsystem.service.ResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
getMinThreads
public org.jboss.as.controller.AttributeDefinition getMinThreads()- Specified by:
getMinThreadsin interfaceThreadPoolResourceRegistration
-
getMaxThreads
public org.jboss.as.controller.AttributeDefinition getMaxThreads()- Specified by:
getMaxThreadsin interfaceThreadPoolResourceRegistration
-
getKeepAlive
- Specified by:
getKeepAlivein interfaceThreadPoolResourceRegistration
-
getPathElement
public org.jboss.as.controller.PathElement getPathElement()- Specified by:
getPathElementin interfaceorg.jboss.as.controller.ResourceRegistration
-