pl.bristleback.server.bristle.config
Enum BristleConfigurationElement

java.lang.Object
  extended by java.lang.Enum<BristleConfigurationElement>
      extended by pl.bristleback.server.bristle.config.BristleConfigurationElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BristleConfigurationElement>

public enum BristleConfigurationElement
extends java.lang.Enum<BristleConfigurationElement>

This is an enumeration of Bristleback configurable elements.

Created on: 2011-03-27 12:18:09

Author:
Wojciech Niemiec

Enum Constant Summary
ACTION_ANNOTATION_PROCESSOR
          Configuration element used to process action class annotations.
BINDINGS_PROCESSOR
          Configuration element used to process binding annotations in action classes.
DEFAULT_BINDING_ENGINE
          Default BindingEngine implementation.
DEFAULT_TOKENIZER
          Default TokenizerEngine implementation used in adding objects to tokens.
DEFAULT_VALUE_RESOLVER_BIG_DECIMAL
          Default BigDecimal value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_BIG_INTEGER
          Default BigInteger value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_BOOLEAN
          Default boolean value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_DOUBLE
          Default integer value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_INTEGER
          Default integer value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_LONG
          Default integer value resolver, used in binding operations.
DEFAULT_VALUE_RESOLVER_STRING
          Default String value resolver, used in binding operations.
MESSAGE_CONTAINER_RESOLVER
          Configuration element used to retrieve message container (message dispatcher and message senders) along with assigning dispatcher and jwebsocket server to senders.
MESSAGE_DISPATCHER
          Class that will be used to dispatch messages.
 
Method Summary
 java.lang.Class getDefaultImplementationClass()
           
 java.lang.Class<?> getInterfaceToImplement()
           
 java.lang.String getPluginSettingName()
           
static BristleConfigurationElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BristleConfigurationElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTION_ANNOTATION_PROCESSOR

public static final BristleConfigurationElement ACTION_ANNOTATION_PROCESSOR
Configuration element used to process action class annotations. Name of the plugin setting: 'bristle.resolvers.action.classes', can be specified in in jwebsocket.xml file.


MESSAGE_DISPATCHER

public static final BristleConfigurationElement MESSAGE_DISPATCHER
Class that will be used to dispatch messages. Can be specified by overriding plugin setting 'bristle.defaults.message.dispatcher' in jwebsocket.xml file.


DEFAULT_TOKENIZER

public static final BristleConfigurationElement DEFAULT_TOKENIZER
Default TokenizerEngine implementation used in adding objects to tokens. Can be specified by setting 'bristle.defaults.tokenizer' plugin property in jwebsocket.xml file.


DEFAULT_BINDING_ENGINE

public static final BristleConfigurationElement DEFAULT_BINDING_ENGINE
Default BindingEngine implementation. Can be specified by setting 'bristle.defaults.binding.engine' plugin property in jwebsocket.xml file.


BINDINGS_PROCESSOR

public static final BristleConfigurationElement BINDINGS_PROCESSOR
Configuration element used to process binding annotations in action classes. Can be specified by setting 'bristle.resolvers.bindings' plugin property in jwebsocket.xml file.


MESSAGE_CONTAINER_RESOLVER

public static final BristleConfigurationElement MESSAGE_CONTAINER_RESOLVER
Configuration element used to retrieve message container (message dispatcher and message senders) along with assigning dispatcher and jwebsocket server to senders. Can be specified by setting 'bristle.resolvers.message.container' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_BOOLEAN

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_BOOLEAN
Default boolean value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.boolean' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_INTEGER

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_INTEGER
Default integer value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.integer' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_LONG

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_LONG
Default integer value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.long' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_DOUBLE

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_DOUBLE
Default integer value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.double' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_STRING

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_STRING
Default String value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.string' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_BIG_DECIMAL

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_BIG_DECIMAL
Default BigDecimal value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.bigDecimal' plugin property in jwebsocket.xml file.


DEFAULT_VALUE_RESOLVER_BIG_INTEGER

public static final BristleConfigurationElement DEFAULT_VALUE_RESOLVER_BIG_INTEGER
Default BigInteger value resolver, used in binding operations. Can be specified by setting 'bristle.resolvers.property.bigInteger' plugin property in jwebsocket.xml file.

Method Detail

values

public static BristleConfigurationElement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BristleConfigurationElement c : BristleConfigurationElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BristleConfigurationElement valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getInterfaceToImplement

public java.lang.Class<?> getInterfaceToImplement()

getDefaultImplementationClass

public java.lang.Class getDefaultImplementationClass()

getPluginSettingName

public java.lang.String getPluginSettingName()


Copyright © 2011. All Rights Reserved.