/******************************************************************************* * Copyright (c) 2007-2008 Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * File: $Source$ * Created by: Generated Source from org.openanzo.rdf.utils.properties.jet * Created on: Generated Source from org.openanzo.rdf.utils.properties.jet * Revision: $Id$ * * Contributors: * Cambridge Semantics Incorporated - initial API and implementation *******************************************************************************/ package org.openanzo.client.pool.attributes; import org.openanzo.osgi.AnzoAttributeDefinition; /** * Base configuration properties that are used by client pool provider. * @author Generated Source from org.openanzo.rdf.utils.properties.jet */ public class ClientPoolAttributes{ /** * AnzoAttributeDefinition for "org.openanzo.client.pool.usesJms" * Whether or not this pool's clients use JMS * */ public static final AnzoAttributeDefinition UsesJms = new AnzoAttributeDefinition() { public String getName() { return "usesJms"; } public boolean isRestartRequired() { return true; } public String getID() { return "org.openanzo.client.pool.usesJms"; } public String getDescription() { return ""+"Whether or not this pool's clients use JMS"; } public String validate(String value) { return ""; } public int getType() { return AnzoAttributeDefinition.BOOLEAN; } public String[] getOptionValues() { return null; } public String[] getOptionLabels() { return null; } public String[] getDefaultValue() { return new String[] {Boolean.toString(true)}; } public int getCardinality() { return 0; } }; /** * AnzoAttributeDefinition for "org.openanzo.client.pool.maxClient" * Maximum number of clients in the pool * */ public static final AnzoAttributeDefinition MaxClient = new AnzoAttributeDefinition() { public String getName() { return "maxClient"; } public boolean isRestartRequired() { return true; } public String getID() { return "org.openanzo.client.pool.maxClient"; } public String getDescription() { return ""+"Maximum number of clients in the pool"; } public String validate(String value) { return ""; } public int getType() { return AnzoAttributeDefinition.INTEGER; } public String[] getOptionValues() { return null; } public String[] getOptionLabels() { return null; } public String[] getDefaultValue() { return new String[] {Integer.toString(5)}; } public int getCardinality() { return 0; } }; /** * AnzoAttributeDefinition for "org.openanzo.client.pool.minClient" * Minimum number of idle clients in the pool * */ public static final AnzoAttributeDefinition MinClient = new AnzoAttributeDefinition() { public String getName() { return "minClient"; } public boolean isRestartRequired() { return true; } public String getID() { return "org.openanzo.client.pool.minClient"; } public String getDescription() { return ""+"Minimum number of idle clients in the pool"; } public String validate(String value) { return ""; } public int getType() { return AnzoAttributeDefinition.INTEGER; } public String[] getOptionValues() { return null; } public String[] getOptionLabels() { return null; } public String[] getDefaultValue() { return new String[] {Integer.toString(1)}; } public int getCardinality() { return 0; } }; }