// ExampleList.java
//
// Created: October 2006
//
// This file is a component of the BioMoby project.
// Copyright Martin Senger (martin.senger@gmail.com).
//

package org.biomoby.registry.meta;

/**
 * An example how to write a class that adds your own registries to
 * the default list of registries. <p>
 *
 * In order to use a class like this (e.g. in Dashboard), put its full
 * class name into
 * <tt>src/config/dashboard/META-INF/services/org.biomoby.registry.meta.Registries</tt>
 * file. More about it is in the Dashboard's documentation. <p>
 *
 * @author <A HREF="mailto:martin.senger@gmail.com">Martin Senger</A>
 * @version $Id: ExampleList.java,v 1.1 2006/10/02 17:57:49 senger Exp $
 */

public class ExampleList
    extends RegistriesList {

    /*********************************************************************
     * A default constructor that adds a new registry to the default
     * list.
     ********************************************************************/
    public ExampleList() {
	super (new Registry[] {
	    new Registry
	    ("Example",
	     "http://endpoint.does.not.exist/MOBY-Central.pl",
	     "http://endpoint.does.not.exist/MOBY/Central",
	     "Example Land",
	     "A contact (example.list@example-land.net)",
	     true,
	     "This is an example how to add your own registry.")
	    });
    }
}
