Examples of Configuration

  • org.apache.flex.forks.velocity.runtime.configuration.Configuration
    This class extends normal Java properties by adding the possibility to use the same key many times concatenating the value strings instead of overwriting them.

    The Extended Properties syntax is explained here:

    • Each property has the syntax key = value
    • The key may use any character but the equal sign '='.
    • value may be separated on different lines if a backslash is placed at the end of the line that continues below.
    • If value is a list of strings, each token is separated by a comma ','.
    • Commas in each token are escaped placing a backslash right before the comma.
    • If a key is used more than once, the values are appended like if they were on the same line separated with commas.
    • Blank lines and lines starting with character '#' are skipped.
    • If a property is named "include" (or whatever is defined by setInclude() and getInclude() and the value of that property is the full path to a file on disk, that file will be included into the ConfigurationsRepository. You can also pull in files relative to the parent configuration file. So if you have something like the following: include = additional.properties Then "additional.properties" is expected to be in the same directory as the parent configuration file. Duplicate name values will be replaced, so be careful.

    Here is an example of a valid extended properties file:

     # lines starting with # are comments # This is the simplest property key = value # A long property may be separated on multiple lines longvalue = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa # This is a property with many tokens tokens_on_a_line = first token, second token # This sequence generates exactly the same result tokens_on_multiple_lines = first token tokens_on_multiple_lines = second token # commas may be escaped in tokens commas.excaped = Hi\, what'up? 

    NOTE: this class has not been written for performance nor low memory usage. In fact, it's way slower than it could be and generates too much memory garbage. But since performance is not an issue during intialization (and there is not much time to improve it), I wrote it this way. If you don't like it, go ahead and tune it up! @author Stefano Mazzocchi @author Jon S. Stevens @author Dave Bryson @author Jason van Zyl @author Geir Magnusson Jr. @author Leon Messerschmidt @author org.apache.flink.configuration.Configuration

    Lightweight configuration object which can store key/value pairs.
  • org.apache.ftpserver.ftplet.Configuration
    Configuration interface.
  • org.apache.geronimo.kernel.config.Configuration
    A Configuration represents a collection of runnable services that can be loaded into a Geronimo Kernel and brought online. The primary components in a Configuration are a codebase, represented by a collection of URLs that is used to locate classes, and a collection of GBean instances that define its state.

    The persistent attributes of the Configuration are:

    • its unique configId used to identify this specific config
    • the configId of a parent Configuration on which this one is dependent
    • a List of code locations (which may be absolute or relative to a baseURL)
    • a byte[] holding the state of the GBeans instances in Serialized form
    When a configuration is started, it converts the URIs into a set of absolute URLs by resolving them against the specified baseURL (this would typically be the root of the CAR file which contains the configuration) and then constructs a ClassLoader for that codebase. That ClassLoader is then used to de-serialize the persisted GBeans, ensuring the GBeans can be recycled as necessary. Once the GBeans have been restored, they are brought online by registering them with the MBeanServer.

    A dependency on the Configuration is created for every GBean it loads. As a result, a startRecursive() operation on the configuration will result in a startRecursive() for all the GBeans it contains. Similarly, if the Configuration is stopped then all of its GBeans will be stopped as well. @version $Rev:385718 $ $Date: 2007-12-16 04:41:36 -0500 (Sun, 16 Dec 2007) $

  • org.apache.geronimo.twiddle.config.Configuration
  • org.apache.hadoop.conf.Configuration
    Provides access to configuration parameters. Configurations are specified by resources. A resource contains a set of name/value pairs.

    Each resources is named by either a String or by a File. If named by a String, then the classpath is examined for a file with that name. If a File, then the filesystem is examined directly, without referring to the CLASSPATH.

    Configuration resources are of two types: default and final. Default values are loaded first and final values are loaded last, and thus override default values.

    Hadoop's default resource is the String "hadoop-default.xml" and its final resource is the String "hadoop-site.xml". Other tools built on Hadoop may specify additional resources.

  • org.apache.ibatis.mapping.Configuration
  • org.apache.ibatis.session.Configuration
  • org.apache.ivy.core.module.descriptor.Configuration
    Represents a module configuration
  • org.apache.james.jspf.core.Configuration
  • org.apache.james.jspf.terms.Configuration
  • org.apache.ldap.server.configuration.Configuration
    A configuration that provides required, optional, or default properties to configure {@link DirectoryService}. @author Apache Directory Project @version $Rev: 307234 $, $Date: 2005-10-07 21:43:33 -0400 (Fri, 07 Oct 2005) $
  • org.apache.lenya.cms.cocoon.generation.Configuration
    Read configuration
  • org.apache.lenya.config.core.Configuration
    Configuration
  • org.apache.logging.log4j.core.config.Configuration
    Interface that must be implemented to create a configuration.
  • org.apache.manifoldcf.core.interfaces.Configuration
    This class represents XML configuration information, in its most basic incarnation.
  • org.apache.marmotta.client.model.config.Configuration
    Add file description here!

    Author: Sebastian Schaffert

  • org.apache.maven.archiva.configuration.Configuration
    Class Configuration. @version $Revision$ $Date$
  • org.apache.maven.shared.app.configuration.Configuration
  • org.apache.myfaces.trinidadinternal.share.config.Configuration
    The Configuration class and its default implementation, ConfigurationImpl, are remnant configuration classes for the UIX portions of Trinidad, and should not be used for new code.

    @see org.apache.myfaces.trinidadinternal.share.config.ConfigurationImpl @version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/config/Configuration.java#0 $) $Date: 10-nov-2005.19:00:18 $ @author The Oracle ADF Faces Team

  • org.apache.ojb.broker.util.configuration.Configuration
    The Configuration interface defines lookup-methods to lookup typed configuration-values. For example boolean getBoolean(String key, boolean defaultValue) looks up a boolean value associated with key. If no value is found for key the boolean defaultValue is returned. @author Thomas Mahler @version $Id: Configuration.java,v 1.5.2.1 2005/12/21 22:28:15 tomdz Exp $
  • org.apache.openmeetings.db.entity.basic.Configuration
  • org.apache.openmeetings.persistence.beans.basic.Configuration
  • org.apache.qpid.configuration.Configuration
  • org.apache.qpid.management.configuration.Configuration
    Qpid Management bridge configuration. Basically iy is a singleton that is holding all the configurtion data loaded at startup. @author Andrea Gazzarini
  • org.apache.slide.util.conf.Configuration
    >Java Apache Project
  • org.apache.sling.provisioning.model.Configuration
    A configuration has either - a pid - or a factory pid and an alias (pid) and properties.
  • org.apache.stratum.configuration.Configuration
    Configuration interface. The general idea here is to make something that will work like our extended properties and be compatible with the preferences API if at all possible. @author Jason van Zyl @author Martin Poeschl @version $Id: Configuration.java,v 1.5 2002/03/03 06:19:55 jvanzyl Exp $
  • org.apache.tapestry.ioc.Configuration
    Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.

    A service can collect contributions in three different ways:

    • As an un-ordered collection of values
    • As an ordered list of values (where each value has a unique id, pre-requisited and post-requisites)
    • As a map of keys and values

    This implementation is used for un-ordered configuration data.

    The service defines the type of contribution, in terms of a base class or service interface. Contributions must be compatible with the type.

  • org.apache.tapestry5.ioc.Configuration
    Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.

    A service can collect contributions in three different ways:

    • As an un-ordered collection of values
    • As an ordered list of values (where each value has a unique id, pre-requisites and post-requisites)
    • As a map of keys and values

    This implementation is used for un-ordered configuration data.

    The service defines the type of contribution, in terms of a base class or service interface. Contributions must be compatible with the type.

  • org.apache.tomee.embedded.Configuration
    @version $Rev$ $Date$
  • org.apache.torque.generator.configuration.Configuration
    The configuration class keeps the complete configuration needed for the generation process. It is supplied with UnitDescriptors describing the available units of generation, and can then read the configuration. After the configuration is read, no new units of generation can be added.
  • org.apache.velocity.runtime.configuration.Configuration
    This class extends normal Java properties by adding the possibility to use the same key many times concatenating the value strings instead of overwriting them.

    The Extended Properties syntax is explained here:

    • Each property has the syntax key = value
    • The key may use any character but the equal sign '='.
    • value may be separated on different lines if a backslash is placed at the end of the line that continues below.
    • If value is a list of strings, each token is separated by a comma ','.
    • Commas in each token are escaped placing a backslash right before the comma.
    • If a key is used more than once, the values are appended like if they were on the same line separated with commas.
    • Blank lines and lines starting with character '#' are skipped.
    • If a property is named "include" (or whatever is defined by setInclude() and getInclude() and the value of that property is the full path to a file on disk, that file will be included into the ConfigurationsRepository. You can also pull in files relative to the parent configuration file. So if you have something like the following: include = additional.properties Then "additional.properties" is expected to be in the same directory as the parent configuration file. Duplicate name values will be replaced, so be careful.

    Here is an example of a valid extended properties file:

     # lines starting with # are comments # This is the simplest property key = value # A long property may be separated on multiple lines longvalue = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa # This is a property with many tokens tokens_on_a_line = first token, second token # This sequence generates exactly the same result tokens_on_multiple_lines = first token tokens_on_multiple_lines = second token # commas may be escaped in tokens commas.excaped = Hi\, what'up? 

    NOTE: this class has not been written for performance nor low memory usage. In fact, it's way slower than it could be and generates too much memory garbage. But since performance is not an issue during intialization (and there is not much time to improve it), I wrote it this way. If you don't like it, go ahead and tune it up! @author Stefano Mazzocchi @author Jon S. Stevens @author Dave Bryson @author Jason van Zyl @author Geir Magnusson Jr. @author Leon Messerschmidt @version $Id: Configuration.java,v 1.23 2001/04/09 22:38:39 dlr Exp $

  • org.apache.xindice.util.Configuration
    Configuration is a utility class that allows Configurable objects to easily manage configuration information in a simple and consistent fashion. @see org.apache.xindice.util.Configurable
  • org.atomojo.server.Configuration
    @author alex
  • org.bukkit.configuration.Configuration
    Represents a source of configurable options and settings
  • org.bukkit.util.config.Configuration
    YAML configuration loader. To use this class, construct it with path to a file and call its load() method. For specifying node paths in the various get*() methods, they support SK's path notation, allowing you to select child nodes by delimiting node names with periods.

    For example, given the following configuration file:

     members: - Hollie - Jason - Bobo - Aya - Tetsu worldguard: fire: spread: false blocks: [cloth, rock, glass] sturmeh: cool: false eats: babies: true 

    Calling code could access sturmeh's baby eating state by using getBoolean("sturmeh.eats.babies", false). For lists, there are methods such as getStringList that will return a type safe list.

    This class is currently incomplete. It is not yet possible to get a node.

  • org.candlepin.common.config.Configuration
    Inspired by Apache's Commons Configuration library.

    This class should only be used to hold immutable objects. If you place a mutable object in the configuration and using the subset() method, both configurations will reference the same object and any changes to that object will be reflected in both!

  • org.castor.core.util.Configuration
  • org.castor.cpa.test.framework.xml.Configuration
  • org.castor.ddlgen.Configuration
    Handle the configuration for DDL generator including load configuration files, manage configuration values. @author Le Duc Bao @author Ralf Joachim @version $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $ @since 1.1
  • org.codehaus.cargo.container.configuration.Configuration
  • org.codehaus.dna.Configuration
    The configuration object represents hierarchial configuration data. The data represented by this object is a simplified XML format. Configuration objects are unable to represent namespace information and elements can not have mixed content. ie Configuration elements can not have both a value and child elements. @version $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $
  • org.codehaus.jettison.mapped.Configuration
  • org.codehaus.plexus.component.annotations.Configuration
  • org.codehaus.xfire.aegis.type.Configuration
  • org.codemap.Configuration
    A set of documents on the visualization pane. Each document is placed at a logical coordinate. When normalized, most coordinates are between 0 and 1. Such a placement of the documents is the result the Multidimensional Scaling (MDS) algorithm.

    Instances of this class are immutable. @author Adrian Kuhn

  • org.constretto.annotation.Configuration
  • org.dayatang.configuration.Configuration
    用于读取全局性配置信息的接口。 @author yyang (gdyangyu@gmail.com)
  • org.dozer.classmap.Configuration
    Internal class that represents the configuration block specified in the mapping xml file(s). Only intended for internal use. @author garsombke.franz @author sullins.ben @author tierney.matt
  • org.drools.smf.Configuration
    Configuration passed to a configurable SemanticComponent.

    A Configuration may actually form a tree-shaped structure in order to hold complex configuration data. Each node in the tree is represented by a Configuration object that has a name and may contain attributes, children and text.

    @author bob mcwhirter @version $Id: Configuration.java,v 1.5 2005/01/23 18:16:20 mproctor Exp $
  • org.dru.clay.respository.Configuration
  • org.earth3d.jearth.config.Configuration
    Saves the applications configuration either using the jnlp PersistenceService or using a local file in the user's home directory. @author webmaster@earth3d.org
  • org.eclipse.cdt.managedbuilder.internal.core.Configuration
  • org.eclipse.ecf.provider.zookeeper.core.internal.Configuration
  • org.erlide.cover.api.Configuration
    Basic implementation for IConfiguration. Used to tell which modules at which project should be analysed @author Aleksandra Lipiec
  • org.exist.config.Configuration
    Configuration interface provide methods to read settings. @author Dmitriy Shabanov
  • org.exist.util.Configuration
  • org.exolab.castor.tests.framework.testDescriptor.Configuration
  • org.exolab.castor.util.Configuration
    Provides default configuration for Castor components from the castor.properties configuration file. All Castor features rely on the central configuration file.

    The configuration file is loaded from the Java lib directory, the classpath and the Castor JAR. Properties set in the classpath file takes precedence over properties set in the Java library configuration file and properties set in the Castor JAR, allowing for each customization. All three files are named castor.properties.

    For example, to change the parser in use, specify that all documents should be printed with identantion or turn debugging on, create a new configuration file in the current directory, instead of modifying the global one. @author Keith Visco @author Assaf Arkin @version $Revision: 1.7 $ $Date: 2004/11/05 05:41:13 $

  • org.exolab.jms.config.Configuration
  • org.exoplatform.container.xml.Configuration
    Jul 19, 2004 @author : Tuan Nguyen @email : tuan08@users.sourceforge.net @version : $Id: Configuration.java 5799 2006-05-28 17:55:42Z geaz $
  • org.fluxtream.core.Configuration
  • org.fto.jthink.config.Configuration
    系统配置文件,针对fto-jthink.xml进行处理,通过此类,可以返回大部分配置信息, 在启动应用的时候初始化此类型。关于配置文件fto-jthink.xml的详细说明参见相关文件。

    历史更新记录: 2005-07-16  创建此类型 2008-11-03  增加静态方法:getConfiguration(),configure()方法 2008-11-03  增加静态代码块,从资源根位置装载fto-jthink.xml配置文件 

    @author wenjian @version 1.0 @since JThink 1.0
  • org.geotools.xml.Configuration
    Responsible for configuring a parser runtime environment.

    Implementations have the following responsibilites:

    • Configuration of bindings.
    • Configuration of context used by bindings.
    • Supplying specialized handlers for looking up schemas.
    • Supplying specialized handlers for parsing schemas.
    • Declaring dependencies on other configurations

    Dependencies

    Configurations have dependencies on one another, that result from teh fact that one schema imports another. Configuration dependencies are transitive. Each configuration should declare all dependencies in the constructor using the {@link #addDependency(Configuration)} method.

     class MyConfiguration extends Configuration { public MyConfiguration() { super(); addDependency( new FooConfiguration() ); addDependency( new BarConfiguration() ); } ... } 

    Binding Configuration

    In able for a particular binding to be found during a parse, the configuration must first populate a container with said binding. This can be done by returning the appropriate instance of {@link org.geotools.xml.BindingConfiguration} in {@link #getBindingConfiguration()}:

      BindingConfiguration getBindingConfiguration() { return new MyBindingConfiguration(); }  
    Instances of type {@link org.geotools.xml.BindingConfiguration} are used topopulate a container with all the bindings from a particular schema.

    Context Configuration

    Many bindings have dependencies on other types of objects. The pattern used to satisfy these dependencies is known as Constructor Injection. Which means that any dependencies a binding has is passed to it in its constructor. For instance, the following binding has a dependency on java.util.List.

      class MyBinding implements SimpleBinding { List list; public MyBinding(List list) { this.list = list; } }  
    Before a binding can be created, the container in which it is housed in must be able to satisfy all of its dependencies. It is the responsibility of the configuration to statisfy this criteria. This is known as configuring the binding context. The following is a suitable configuration for the above binding.
      class MyConfiguration extends Configuration { .... void configureContext(MutablePicoContainer container) { container.registerComponentImplementation(ArrayList.class); } }  

    Schema Resolution

    XML instance documents often contain schema uri references that are invalid with respect to the parser, or non-existant. A configuration can supply specialized look up classes to prevent the parser from following an invalid uri and prevent any errors that may occur as a result.

    An instance of {@link org.eclipse.xsd.util.XSDSchemaLocationResolver} can beused to override a schemaLocation referencing another schema. This can be useful when the entity parsing an instance document stores schemas in a location unkown to the entity providing hte instance document.

    An instance of {@link org.eclipse.xsd.util.XSDSchemaLocator} can be usedto provide an pre-parsed schema and prevent the parser from parsing a schemaLocation manually. This can be useful when an instance document does not supply a schemaLocation for the targetNamespace of the document.

      class MyConfiguration implements Configuration { XSDSchemaLocationResolver getSchemaLocationResolver() { return new MySchemaLocationResolver(); } XSDSchemaLocator getSchemaLocator() { return new MySchemaLocator(); } }  

    The XSDSchemaLocator and XSDSchemaLocationResolver implementations are used in a couple of scenarios. The first is when the schemaLocation attribute of the root element of the instance document is being parsed. The schemaLocation attribute has the form:

      schemaLocation="namespace location namespace location ..."  
    In which (namespace,location) tuples are listed. For each each namespace encountered when parsing the schemaLocation attribute, an appropriate resolver / locator is looked up. If an override is not aviable, the framework attempts to resolve the location part of the tuple into a schema. The second scenario occurs when the parsing of a schema encounters an import or an include element. These elements have the form:
      <import namespace="" schemaLocation=""/>  
    and:
      <include schemaLocation="">  
    respectivley. Similar to above, the schemaLocation (and namespace in the case of an import) are used to find an override. If not found they are resolved directly.

    @author Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net @see org.geotools.xml.BindingConfiguration @source $URL$
  • org.geowebcache.config.Configuration
  • org.gradle.api.artifacts.Configuration

    A {@code Configuration} represents a group of artifacts and their dependencies.

  • org.graylog2.Configuration
    Helper class to hold configuration of Graylog2
  • org.graylog2.plugin.configuration.Configuration
  • org.hibernate.cfg.Configuration
    ource.atlassian.com/projects/hibernate/browse/HHH-6183">HHH-6183, HHH-2578 and HHH-6586 for details @author Gavin King @see org.hibernate.SessionFactory
  • org.hibernate.validator.ap.util.Configuration
    Provides access to the processor options supported by the Hibernate Validator annotation processor. @author Gunnar Morling
  • org.hornetq.core.config.Configuration
    A Configuration is used to configure HornetQ servers. @author Tim Fox
  • org.infinispan.client.hotrod.configuration.Configuration
    Configuration. @author Tristan Tarrant @since 5.3
  • org.infinispan.config.Configuration
    Encapsulates the configuration of a Cache. @author Manik Surtani (manik@jboss.org) @since 4.0
  • org.infinispan.configuration.cache.Configuration
  • org.infinispan.protostream.Configuration
    @author anistor@redhat.com @since 1.0
  • org.jSyncManager.SJS.Adapters.SMTPServer.Config.Configuration
    Encapsulates the important properties and their corresponding values for a given configuration file. @author $author$ @version $Revision$
  • org.jacorb.config.Configuration
    ORB configuration objects are read-only representations of files with configuration properties. ORB configuration options for a given name are looked up and loaded as follows:
    1. System properties are loaded first, but only to get properties that affect further property loading
    2. the file orb.properties is loaded from java.home/lib and user.home if it exists
    3. if the ORBid is property is set, the file ORBid.properties is loaded from jacorb.config.dir/etc, if that exists, or jacorb.home/etc, or '.' If ORBid is not set, the default file jacorb.properties is loaded from these places.
    4. Custom properties are loaded from each file name listed int the system property custom.props
    5. To also support packaged servers in jar files, the configuration file lookup mechanism finally tries to load named properties files (ORBid.properties, or jacorb.properties) from the classpath, if it cannot find them in the config dictionary.
    6. After all property files have been loaded, the System properties are loaded again, so that command-line properties take precedence
    7. Finally, properties hard-coded and passed in through ORB.init() are loaded.
    The Configuration object is also used by JacORB components to retreive their Logger objects. @author Gerald Brose, XTRADYNE Technologies @version $Id: Configuration.java,v 1.20 2009-05-03 21:27:51 andre.spiegel Exp $
  • org.jamesii.asf.spdm.Configuration
    Represents parameter setup for a concrete simulation system configuration. @author Roland Ewald
  • org.jamesii.core.experiments.optimization.parameter.Configuration
    Base class for model variables. All variables in this map have to have unique names, but they might of arbitrary "type". This is mostly a convenience wrapper for a normal {@link HashMap}, but it provides some methods in addition which may make life easier. @author Jan Himmelspach (based on ideas from Arvid Schwecke)
  • org.jasig.portal.tools.dbloader.Configuration
    Holds all configuration values used in DbLoader as part of loading a database. @author Ken Weiner, kweiner@unicon.net @author Mark Boyd @version $Revision: 1.4 $
  • org.jbehave.core.configuration.Configuration
    kipedia.org/wiki/Builder_pattern">Builder pattern so that each element of the configuration can be specified individually, and read well. All elements have default values, which can be overridden by the "use" methods. The "use" methods allow to override the dependencies one by one and play nicer with a Java hierarchical structure, in that does allow the use of non-static member variables.

  • org.jboss.arquillian.spi.Configuration
    Holds the global Arquillian configuration and a Map of {@link ContainerConfiguration}implementations objects. It is built by {@link org.jboss.arquillian.impl.ConfigurationBuilder}s @author German Escobar @version $Revision: $
  • org.jboss.cache.config.Configuration
    Encapsulates the configuration of a Cache. @author Manik Surtani (manik AT jboss DOT org)
  • org.jboss.cdi.tck.api.Configuration
    The configuration of the TCK. The TCK may be configured using system properties or placed in a properties file called META-INF/cdi-tck.properties. Porting package property names are the FQCN of the SPI class. Other property names (one for each non-porting package SPI configuration option) are specified here. The defaults are also listed here. The TCK may also be configured programatically through this interface @author Pete Muir @author Martin Kouba
  • org.jboss.config.spi.Configuration
    Configuration.

    Provides configuration options. @author Adrian Brock @version $Revision: 70886 $

  • org.jboss.errai.bus.client.framework.Configuration
    Configuration interface to specify server location url @author Erik Jan de Wit
  • org.jboss.forge.addon.configuration.Configuration
    @author Lincoln Baxter, III @author Commons Configuration team
  • org.jboss.forge.addon.maven.plugins.Configuration
    A Maven plugin Configuration object. @author Paul Bakker
  • org.jboss.forge.arquillian.container.Configuration
    @Author Paul Bakker - paul.bakker.nl@gmail.com
  • org.jboss.forge.env.Configuration
    @author Lincoln Baxter, III @author Commons Configuration team
  • org.jboss.forge.maven.plugins.Configuration
    A Maven plugin Configuration object. @author Paul Bakker
  • org.jboss.ws.tools.Configuration
    Configuration driving jbossws @author Anil Saldhana @since Aug 11, 2005
  • org.jbpm.api.Configuration
    process engine configuration. @author Tom Baeyens
  • org.jconfig.Configuration
    A Configuraton provides access to all Category and Properties. The Configuration was converted into an Interface after the need for other Configuration implementations existed. @see org.jconfig.DefaultConfiguration @see org.jconfig.ExtensibleConfiguration @since 2.3 @author Andreas Mecky @author Terry Dye
  • org.jfree.util.Configuration
    A simple query interface for a configuration. @author Thomas Morgner
  • org.jfx4ee.adm4ee.business.configuration.entity.Configuration
    @author Jens Deters
  • org.jgap.Configuration
    The Configuration class represents the current configuration of plugins and parameters necessary to execute the genetic algorithm (such as fitness function, natural selector, genetic operators, and so on).

    Note that, while during setup, the settings, flags, and other values may be set multiple times. But once the lockSettings() method is invoked, they cannot be changed. The default behavior of the Genotype constructor is to invoke this method, meaning that once a Configuration object is passed to a Genotype, it cannot be subsequently modified. There is no mechanism for unlocking the settings once they are locked.

    Not all configuration options are required. See the documentation for each of the respective mutator methods to determine whether it is required to provide a value for that setting, and what the setting will default to if not. @author Neil Rotstan @author Klaus Meffert @since 1.0

  • org.jolokia.config.Configuration
    Class encapsulating all Agent configuration, global config and processing parameters @author roland @since 07.02.13
  • org.jooq.Configuration
    A Configuration configures a {@link DSLContext}, providing it with information for query construction, rendering and execution.

    A Configuration wraps all information elements that are needed...

    • by a {@link DSLContext} to construct {@link Query} objects
    • by a {@link RenderContext} to render {@link Query} objects and{@link QueryPart}s
    • by a {@link BindContext} to bind values to {@link Query} objects and{@link QueryPart}s
    • by a {@link Query} or {@link Routine} object to execute itself

    The simplest usage of a Configuration instance is to use it exactly for a single Query execution, disposing it immediately. This will make it very simple to implement thread-safe behaviour.

    At the same time, jOOQ does not require Configuration instances to be that short-lived. Thread-safety will then be delegated to component objects, such as the {@link ConnectionProvider}, the {@link ExecuteListener}list, etc. @author Lukas Eder

  • org.jooq.util.jaxb.Configuration
  • org.jpos.core.Configuration
    @author apr@cs.com.uy @version $Id$ @since jPOS 1.1CardAgents relies on a Configuration object to provide runtime configuration parameters such as merchant number, etc.
  • org.jscsi.target.Configuration
    Instances of {@link Configuration} provides access target-wide parameters, variables that are the same across allsessions and connections that do not change after initialization and which play a role during text parameter negotiation. Some of these parameters are provided or can be overridden by the content of an XML file - jscsi-target.xml. @author Andreas Ergenzinger, University of Konstanz
  • org.junithelper.core.config.Configuration
  • org.jzkit.configuration.api.Configuration
  • org.kefirsf.bb.conf.Configuration
  • org.languagetool.gui.Configuration
    Configuration like list of disabled rule IDs, server mode etc. Configuration is loaded from and stored to a properties file. @author Daniel Naber
  • org.libreplan.business.common.entities.Configuration
    Application configuration variables. @author Manuel Rego Casasnovas @author Cristina Alvarino Perez @author Ignacio Diaz Teijido @author Susana Montes Pedreira
  • org.lightfish.business.configuration.entity.Configuration
    @author rveldpau
  • org.luciddb.pg2luciddb.configuration.Configuration
  • org.mapfish.print.config.Configuration
    The Main Configuration Bean.

    @author jesseeichar on 2/20/14.

  • org.masukomi.aspirin.core.config.Configuration

    This class represents the configuration of Aspirin. You can configure this software two ways:

    1. Get the configuration instance and set parameters.
    2. Get the instance and initialize with a Properties object.

    There is a way to change behavior of Aspirin dynamically. You can use JMX to change configuration parameters. In the parameters list we marked the parameters which are applied immediately. For more information view {@link ConfigurationMBean}.

    Name Type Description
    aspirin.delivery.attempt.delay Integer The delay of next attempt to delivery in milliseconds. Change by JMX applied immediately.
    aspirin.delivery.attempt.count Integer Maximal number of delivery attempts of an email. Change by JMX applied immediately.
    aspirin.delivery.bounce-on-failure Boolean If true, a bounce email will be send to postmaster on failure. Change by JMX applied immediately.
    aspirin.delivery.debug Boolean If true, full SMTP communication will be logged. Change by JMX applied immediately.
    aspirin.delivery.expiry Long Time of sending expiry in milliseconds. The queue send an email until current time = queueing time + expiry. Default value is -1, it means forever (no expiration time). Change by JMX applied immediately.
    aspirin.delivery.threads.active.max Integer Maximum number of active delivery threads in the pool. Change by JMX applied immediately.
    aspirin.delivery.threads.idle.max Integer Maximum number of idle delivery threads in the pool (the deilvery threads over this limit will be shutdown). Change by JMX applied immediately.
    aspirin.delivery.timeout Integer Socket and {@link Transport} timeout in milliseconds. Change by JMX applied immediately.
    aspirin.encoding String The MIME encoding. Change by JMX applied immediately.
    aspirin.hostname String The hostname. Change by JMX applied immediately.
    aspirin.logger.name String The name of the logger. Change by JMX applied immediately.
    WARNING! Changing logger name cause replacing of logger.
    aspirin.logger.prefix String The prefix of the logger. This will be put in the logs at the first position. Change by JMX applied immediately.
    aspirin.postmaster.email String The email address of the postmaster. Change by JMX applied immediately.
    aspirin.mailstore.class String The class name of mail store. Default class is SimpleMailStore in org.masukomi.aspirin.core.store package.
    aspirin.queuestore.class String The class name of queue store. Default class is SimpleQueueStore in org.masukomi.aspirin.core.queue package.
    @author Kate Rhodes masukomi at masukomi dot org @author Laszlo Solova
  • org.meshcms.core.Configuration
    Manages the configuration parameters of a website.
  • org.mybatis.generator.config.Configuration
    @author Jeff Butler
  • org.nasutekds.quicksetup.Configuration
    Represents the contents of an NasuTekDS configuration file.
  • org.netbeans.ns.project._1.Configuration
    3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.netbeans.org/ns/nb-module-project/3}data"/> </sequence> </restriction> </complexContent> </complexType>
  • org.objectweb.celtix.configuration.Configuration
  • org.objectweb.howl.log.Configuration
    Provides configuration information for a {@link org.objectweb.howl.log.Logger Logger}instance. @author girouxm
  • org.ocpsoft.rewrite.config.Configuration
    Configuration for the {@link Rewrite} framework. @author Lincoln Baxter, III
  • org.open2jam.gui.parts.Configuration
    @author CdK
  • org.opencustomer.framework.db.util.engine.configuration.Configuration
  • org.openhab.binding.maxcube.internal.message.Configuration
    Base class for configuration provided by the MAX!Cube C_Message. @author Andreas Heil (info@aheil.de) @since 1.4.0
  • org.openmeetings.app.persistence.beans.basic.Configuration
  • org.openpnp.model.Configuration
  • org.opensolaris.opengrok.configuration.Configuration
    Placeholder class for all configuration variables. Due to the multithreaded nature of the web application, each thread will use the same instance of the configuration object for each page request. Class and methods should have package scope, but that didn't work with the XMLDecoder/XMLEncoder.
  • org.openstreetmap.osmosis.extract.apidb.common.Configuration
    Loads and exposes the extraction configuration properties. @author Brett Henderson
  • org.ops4j.pax.exam.Configuration
  • org.osgi.service.cm.Configuration
    The configuration information for a {@code ManagedService} or{@code ManagedServiceFactory} object.The Configuration Admin service uses this interface to represent the configuration information for a {@code ManagedService} or for a serviceinstance of a {@code ManagedServiceFactory}.

    A {@code Configuration} object contains a configuration dictionary and allowsthe properties to be updated via this object. Bundles wishing to receive configuration dictionaries do not need to use this class - they register a {@code ManagedService} or {@code ManagedServiceFactory}. Only administrative bundles, and bundles wishing to update their own configurations need to use this class.

    The properties handled in this configuration have case insensitive {@code String} objects as keys. However, case must be preserved from the lastset key/value.

    A configuration can be bound to a specific bundle or to a region of bundles using the location. In its simplest form the location is the location of the target bundle that registered a Managed Service or a Managed Service Factory. However, if the location starts with {@code ?} then thelocation indicates multiple delivery. In such a case the configuration must be delivered to all targets. If security is on, the Configuration Permission can be used to restrict the targets that receive updates. The Configuration Admin must only update a target when the configuration location matches the location of the target's bundle or the target bundle has a Configuration Permission with the action {@link ConfigurationPermission#TARGET} and a name that matches theconfiguration location. The name in the permission may contain wildcards ( {@code '*'}) to match the location using the same substring matching rules as {@link Filter}. Bundles can always create, manipulate, and be updated from configurations that have a location that matches their bundle location.

    If a configuration's location is {@code null}, it is not yet bound to a location. It will become bound to the location of the first bundle that registers a {@code ManagedService} or {@code ManagedServiceFactory} objectwith the corresponding PID.

    The same {@code Configuration} object is used for configuring both a ManagedService Factory and a Managed Service. When it is important to differentiate between these two the term "factory configuration" is used. @noimplement @author $Id: bc83a488c091cf0fbeb90e2c013f637bc82f2a26 $

  • org.ossnipes.snipes.bot.Configuration
    A extension of the {@link Properties} class for the SnipesBot project.
    New features include some new constructors and utility methods for getting of properties as certain types. This class also overrides the store method, making it unusable to stop users from writing to the configuration file (destroys comments and messes up the order of properties.) @author Jack McCracken @since Snipes 0.01
  • org.ow2.util.maven.plugin.deployment.core.Configuration
    This class manages the injection. @author Florent Benoit
  • org.pdf4j.saxon.Configuration
    This class holds details of user-selected configuration options for a set of transformations and/or queries. When running XSLT, the preferred way of setting configuration options is via the JAXP TransformerFactory interface, but the Configuration object provides a finer level of control. As yet there is no standard API for XQuery, so the only way of setting Configuration information is to use the methods on this class directly.

    As well as holding configuration settings, this class acts as a factory for classes providing service in particular areas: error handling, URI resolution, and the like. Some of these services are chosen on the basis of the current platform (Java or .NET), some vary depending whether the environment is schema-aware or not.

    The Configuration provides access to a {@link NamePool} which is used to manageall the names used in stylesheets, queries, schemas, and source and documents: the NamePool allocates integer codes to these names allowing efficient storage and comparison. Normally there will be a one-to-one relationship between a NamePool and a Configuration. It is possible, however, for several Configuration objects to share the same NamePool. Until Saxon 8.9, by default all Configuration objects shared a single NamePool unless configured otherwise; this changed in 8.9 so that the default is to allocate a new NamePool for each Configuration.

    The Configuration establishes the scope within which node identity is managed. Every document belongs to a Configuration, and every node has a distinct identity within that Configuration. In consequence, it is not possible for any query or transformation to manipulate multiple documents unless they all belong to the same Configuration.

    Saxon-SA has a subclass of the Configuration class which provides the additional services needed for schema-aware processing. The {@link com.saxonica.validate.SchemaAwareConfiguration}also holds a cache of loaded schema components used for compiling schema-aware transformations and queries, and for validating instance documents.

    Since Saxon 8.4, the JavaDoc documentation for Saxon attempts to identify interfaces that are considered stable, and will only be changed in a backwards-incompatible way if there is an overriding reason to do so. These interfaces and methods are labelled with the JavaDoc "since" tag. The value 8.n indicates a method in this category that was introduced in Saxon version 8.n: or in the case of 8.4, that was present in Saxon 8.4 and possibly in earlier releases. (In some cases, these methods have been unchanged for a long time.) Methods without a "since" tag, although public, are provided for internal use or for use by advanced users, and are subject to change from one release to the next. The presence of a "since" tag on a class or interface indicates that there are one or more methods in the class that are considered stable; it does not mean that all methods are stable. @since 8.4

  • org.pdfsam.guiclient.configuration.Configuration
    Configuration Singleton @author Andrea Vacondio
  • org.pentaho.reporting.libraries.base.config.Configuration
    A simple query interface for a configuration. @author Thomas Morgner
  • org.projectforge.core.Configuration
    This class also provides the configuration of the parameters which are stored via ConfigurationDao. Those parameters are cached.
    @author Kai Reinhard (k.reinhard@micromata.de)
  • org.qi4j.api.configuration.Configuration
    Provide Configurations for Services. A Service that wants to be configurable should inject a reference to Configuration with the Configuration type:
     

    @This Configuration<MyServiceConfiguration> config;

    where MyServiceConfiguration extends {@link ConfigurationComposite}, which itself is an ordinary {@link org.qi4j.api.entity.EntityComposite}. The Configuration implementation will either locate an instance of the given Configuration type in the persistent store using the identity of the Service, or create a new such instance if one doesn't already exist.

    If a new Configuration instance is created then it will be populated with properties from the properties file whose filesystem name is the same as the identity (e.g. "MyService.properties"). If a service is not given a name via the {@link org.qi4j.bootstrap.ServiceDeclaration#identifiedBy(String)}, the name will default to the FQCN of the ServiceComposite type.

    The Configuration instance can be modified externally just like any other EntityComposite, but its values will not be updated in the Service until {@link #refresh()} is called. This allowssafe reloads of Configuration state to ensure that it is not reloaded while the Service is handling a request.

    The Configuration will be automatically refreshed when the Service is activated through the {@link org.qi4j.api.service.Activatable#activate()} method by the Qi4j runtime.Any refreshes at other points will have to be done manually or triggered through some other mechanism.

    The user configuration entity is part of a long running {@link UnitOfWork}, and to persist changes to it the {@link #save()} method must be called. No other actions are required. Example;

     

    public interface MyConfiguration extends ConfigurationComposite { Property<Long> timeout(); }

    :

    @This Configuration<MyConfiguration> config;

    : private void setTimeoutConfiguration( long timeout ) { config.configuration().timeout().set( timeout ); config.save(); }

    And even if a separate thread is using the {@code timeout()} configuration when this is happening, the{@link UnitOfWork} isolation will ensure that the other thread is not affected. That thread, on the other handwill need to do a {@link #refresh()} at an appropriate time to pick up the timeout change. For instance;
     

  • org.randomgd.bukkit.workers.util.Configuration
    Configuration.
  • org.reflections.Configuration
    Configuration is used to create a configured instance of {@link Reflections}

    it is preferred to use {@link org.reflections.util.ConfigurationBuilder}

  • org.rhq.core.domain.configuration.Configuration
    This is the root object for the storage of a hierarchical value set of data. This data may represent configurations of external systems or the components within ON. The data values supported are the basic primitive types in containers of maps and lists. Containers may hold other containers creating the hierarchical data structure. This content is loosely related to the definition entities that can provide a model for the possible values and validation of them.

    A Configuration has one or more named {@link Property} objects contained within it (similar to aMap). Note that {@link Property} is an abstract class that actually represents either:

    • a simple value ( {@link PropertySimple})
    • a list of other {@link Property} objects ({@link PropertyList})
    • a map of other {@link Property} objects ({@link PropertyMap})

    Because a Configuration can contain a list or map of properties, a Configuration can contain a hierarchy of properties N-levels deep.

    Each Property within a Configuration has a name - this not only includes simple properties, but also lists and maps of properties as well. For example, you can retrieve a list of properties via {@link #getList(String)} bypassing in the name of the list.

    @author Jason Dobies @author Greg Hinkle @see Property @see PropertySimple @see PropertyList @see PropertyMap
  • org.scf4j.Configuration
  • org.semanticweb.HermiT.Configuration
  • org.sf.bee.commons.xml.configuration.Configuration
    @author angelo.geminiani
  • org.sonatype.nexus.configuration.model.Configuration
  • org.sonatype.nexus.configuration.model.v2_5_0.Configuration
    - $Header: $ - $Author: $ - $Revision: $ - $Date: $ - $Log: $
  • org.sonatype.nexus.configuration.model.v2_7_0.Configuration
    - $Header: $ - $Author: $ - $Revision: $ - $Date: $ - $Log: $
  • org.sonatype.nexus.log.LogConfigurationCustomizer.Configuration
  • org.sonatype.nexus.plugins.capabilities.internal.config.persistence.Configuration
  • org.sonatype.security.legacy.model.v1_0_0.Configuration
    - $Header: $ - $Author: $ - $Revision: $ - $Date: $ - $Log: $
  • org.sonatype.security.model.Configuration
  • org.sonatype.security.model.v2_0_0.Configuration
    - $Header: $ - $Author: $ - $Revision: $ - $Date: $ - $Log: $
  • org.sonatype.security.model.v2_0_1.Configuration
    - $Header: $ - $Author: $ - $Revision: $ - $Date: $ - $Log: $
  • org.soybeanMilk.core.config.Configuration
    配置,它包含执行所需的环境信息,比如 {@linkplain ResolverObjectFactory 调用目标对象工厂}、 {@linkplain GenericConverter 通用转换器}, {@linkplain Executable 可执行对象}集以及 {@linkplain Interceptor 执行拦截器} @author earthangry@gmail.com @date 2010-10-1
  • org.springframework.config.java.annotation.Configuration
  • org.springframework.roo.project.Configuration
    Immutable representation of an configuration specification for a (Maven) build plugin @author Alan Stewart @since 1.1
  • org.springframework.xd.shell.Configuration
    Encapsulates various configuration properties for the shell such as {@link Target}and the configurable {@link TimeZone}. @author Gunnar Hillert @since 1.0
  • org.stagemonitor.core.configuration.Configuration
  • org.switchyard.config.Configuration
    The central and most important interface of the Configuration API. @author David Ward <dward@jboss.org> (C) 2011 Red Hat Inc.
  • org.talend.esb.mep.requestcallback.feature.Configuration
  • org.testng.annotations.Configuration
  • org.testng.internal.Configuration
  • org.thymeleaf.Configuration

    General configuration class, containing all the configuration items for a {@link TemplateEngine}, including all the info for every configured {@link IDialect}.

    Except for testing purposes, there is no reason why a user might need to use this class directly.

    @author Daniel Fernández @since 1.0
  • org.tuba.data.Configuration
  • org.tubo.configuration.def.Configuration
    Created: Jun 23, 2005 5:51:14 AM Last Modification Date: $Date: 2006-10-19 10:11:35 -0500 (Thu, 19 Oct 2006) $ @author jvlio (jvlio@users.sourceforge.net) @version $Revision: 17 $
  • org.voltdb.VoltDB.Configuration
  • org.watermint.sourcecolon.org.opensolaris.opengrok.configuration.Configuration
    Placeholder class for all configuration variables. Due to the multi-threaded nature of the web application, each thread will use the same instance of the configuration object for each page request. Class and methods should have package scope, but that didn't work with the XMLDecoder/XMLEncoder.
  • org.wikier.trioo.jtrioo.common.Configuration
    Configuration as a singleton @author sergio.fernandez@fundacionctic.org
  • org.wikipediacleaner.utils.Configuration
    Configuration.
  • org.wltea.analyzer.cfg.Configuration
    IK Analyzer v3.2 简单的配置管理类,单子模式 @author 林良益
  • org.wsI.testing.x2004.x07.analyzerConfig.Configuration
    as.xmlsoap.org/ws/2002/07/utility). This is an atomic type that is a restriction of org.apache.xmlbeans.XmlQName.
  • org.zanata.rest.dto.Configuration
    @author Patrick Huangpahuang@redhat.com
  • org.zkoss.zk.ui.util.Configuration
    The ZK configuration.

    To retrieve the current configuration, use {@link org.zkoss.zk.ui.WebApp#getConfiguration}.

    Note: A {@link Configuration} instance can be assigned to at most one{@link WebApp} instance. @author tomyeh

  • play.Configuration
    The current application configuration.
  • plugins.audioPlayer.javazoom.jlgui.player.amp.util.ini.Configuration
    A Configuration is used to save a set of configuration properties. The properties can be written out to disk in "name=value" form, and read back in. @author Jeremy Cloud @version 1.2.0
  • primarydatamanager.mirrorupdater.config.Configuration
    @author Til Schneider, www.murfman.de
  • ptolemy.actor.gui.Configuration
    rkeley//DTD MoML 1//EN" "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd"> <entity name="configuration" class="ptolemy.actor.gui.Configuration"> <doc>Configuration to run but not edit Ptolemy II models</doc> <entity name="directory" class="ptolemy.actor.gui.ModelDirectory"/> <entity name="effigyFactory" class="ptolemy.actor.gui.PtolemyEffigy$Factory"/> <property name="tableauFactory" class="ptolemy.actor.gui.RunTableau$Factory"/> </entity>

    It must contain, at a minimum, an instance of ModelDirectory, named "directory", and an instance of EffigyFactory, named "effigyFactory". The openModel() method delegates to the effigy factory the opening of a model. It may also contain an instance of TextEditorTableauFactory, named "tableauFactory". A tableau is a visual representation of the model in a top-level window. The above minimal configuration can be used to run Ptolemy II models by opening a run panel only.

    When the directory becomes empty (all models have been closed), it removes itself from the configuration. When this happens, the configuration calls System.exit() to exit the application.

    To access the configuration from a random place, if you have a NamedObj foo, then you can call:

     Effigy effigy = Configuration.findEffigy(foo.toplevel()); Configuration configuration = effigy.toplevel(); 
    @author Steve Neuendorffer and Edward A. Lee @version $Id: Configuration.java,v 1.119.4.1 2008/03/26 19:32:54 cxh Exp $ @since Ptolemy II 1.0 @Pt.ProposedRating Green (eal) @Pt.AcceptedRating Yellow (celaine) @see EffigyFactory @see ModelDirectory @see Tableau @see TextEditorTableau
  • ru.snake.spritepacker.Configuration
  • sharpen.core.Configuration
  • statechum.Configuration
    Represents a configuration for a learner. The purpose is a possibility of a global customisation of all objects used by a learner in the course of learning by the same object.

    When you add to this class, please add the corresponding entries to hashCode and equals.

    This class is using the built-in clone method, hence all attributes have to be either primitives or immutable (such as String).

  • twitter4j.conf.Configuration
    @author Yusuke Yamamoto - yusuke at mac.com
  • ua.pp.bizon.cripto.configuration.Configuration
  • webframe.Configuration

  • Examples of org.castor.core.util.Configuration

                    "Domain class loader must not be null",
                    _configuration.getDomainClassLoader());
        }

        public void testNewInstanceClassLoaderClassLoader() {
            Configuration c = XMLConfiguration.newInstance(null, null);
            Assert.assertNotNull(
                    "Configuration must exist after call to newInstance()", c);
    //        Assert.assertNotNull(
    //                "Application class loader must not be null",
    //                c.getApplicationClassLoader());

    Examples of org.castor.cpa.test.framework.xml.Configuration

            _defaultDatabaseName = cpactfconf.getDefaultDatabase();
            _defaultTransactionName = cpactfconf.getDefaultTransaction();
           
            Iterator cfgIter = cpactfconf.iterateConfiguration();
            while (cfgIter.hasNext()) {
                Configuration config = (Configuration) cfgIter.next();
                _configurations.put(config.getName(), config);
            }
           
            Iterator dbIter = cpactfconf.iterateDatabase();
            while (dbIter.hasNext()) {
                Database database = (Database) dbIter.next();

    Examples of org.castor.ddlgen.Configuration

        /**
         * {@inheritDoc}
         */
        public void generateHeader(final DDLWriter writer) {
            Configuration conf = getConfiguration();
           
            writer.println("/* ");
            writer.println(new Date());
            writer.println("Castor DDL Generator from mapping for Microsoft SQL Server");
            writer.println(conf.getStringValue(DDLGenConfiguration.HEADER_COMMENT_KEY, ""));
            writer.println("*/");
        }

    Examples of org.codehaus.cargo.container.configuration.Configuration

            this.port = port;
        }

        @Override
        protected Container getContainer(ConfigurationFactory configFactory, ContainerFactory containerFactory, String id) {
            Configuration config = configFactory.createConfiguration(id, ContainerType.INSTALLED, ConfigurationType.EXISTING, home);
            configure(config);
            return containerFactory.createContainer(id, ContainerType.INSTALLED, config);
        }

    Examples of org.codehaus.dna.Configuration

            final String name = "meep";
            final String key = "key";
            final String value = "value";
            final Element element = document.createElement( name );
            element.setAttribute( key, value );
            final Configuration configuration = ConfigurationUtil.toConfiguration( element );

            assertEquals( "configuration.getName()", name, configuration.getName() );
            assertEquals( "configuration.getPath()",
                          ConfigurationUtil.ROOT_PATH,
                          configuration.getPath() );
            assertEquals( "configuration.getLocation()",
                          "dom-gen",
                          configuration.getLocation() );
            assertEquals( "configuration.getAttributeNames().length",
                          1,
                          configuration.getAttributeNames().length );
            assertEquals( "configuration.getAttribute( key )",
                          value,
                          configuration.getAttribute( key ) );
        }

    Examples of org.codehaus.jettison.mapped.Configuration

                                                        boolean attributesAsElements,
                                                        TypeConverter converter) {
            if (writeXsiType) {
                namespaceMap.putIfAbsent(XSI_URI, XSI_PREFIX);
            }
            Configuration c = new Configuration(namespaceMap);
            c.setSupressAtAttributes(attributesAsElements);
            if (converter != null) {
                c.setTypeConverter(converter);
            }
            return c;
        }

    Examples of org.codehaus.plexus.component.annotations.Configuration

        }

        private PlexusConfiguration findConfiguration(AnnField field, AnnClass c, ClassLoader cl) {
            assert field != null;

            Configuration anno = field.getAnnotation(Configuration.class);

            if (anno == null) {
                return null;
            }

            String name = filterEmptyAsNull(anno.name());
            if (name == null) {
                name = field.getName();
            }
            name = deHump(name);
           
            XmlPlexusConfiguration config = new XmlPlexusConfiguration(name);

            String value = filterEmptyAsNull(anno.value());
            if (value != null) {
                config.setValue(value);
            }

            return config;

    Examples of org.codehaus.xfire.aegis.type.Configuration

            DefaultTypeMappingRegistry registry = new DefaultTypeMappingRegistry(true);
            TypeMapping defaultTM = registry.getDefaultTypeMapping();
           
            tm = new CustomTypeMapping(defaultTM);
            creator = new XMLTypeCreator();
            creator.setConfiguration(new Configuration());
            DefaultTypeCreator next = new DefaultTypeCreator();
            next.setConfiguration(new Configuration());
            creator.setNextCreator(next);
            tm.setTypeCreator(creator);
        }

    Examples of org.codemap.Configuration

        @Test
        public void nearestNeighborRegression() {
            final HashMap<Point, Integer> points = new HashMap<Point, Integer>();
            QuickNDirtyMap.anotherDebugPointSet(points);
         
            Configuration configuration = new Configuration(points.keySet());
            MapInstance mapInstance = configuration.withSize(mapSize, new MapScheme<Double>() {
                @Override
                public Double forLocation(Point location) {
                    // TODO fill in size
                    return (double) points.get(location);

    Examples of org.constretto.annotation.Configuration

        public Class<?> getType() {
            return type;
        }

        public String constrettoConfigurationKeyCandidate() {
            Configuration configuration = findConfigurationParameter();
            if(configuration != null && ! configuration.value().isEmpty()) {
                return configuration.value();
            } else {
              return getName();
            }
        }
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.