/**
 * JOnAS: Java(TM) Open Application Server
 * Copyright (C) 2006 Bull S.A.S.
 * Contact: jonas-team@objectweb.org
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or 1any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 * USA
 *
 * --------------------------------------------------------------------------
 * $Id$
 * --------------------------------------------------------------------------
 */

package org.objectweb.jonas_clusterd.api;

import org.objectweb.jonas_lib.deployment.api.CommonsSchemas;

/**
 * This class defines the declarations of Schemas for clusterd.xml file
 * @author Benoit Pelletier
 */
public class ClusterDaemonSchemas extends CommonsSchemas {

    /**
     * List of schemas used for jonas-application.xml file
     */
    public static final String[] CLUSTER_DAEMON_SCHEMAS = new String[] {
        "jonas-clusterd_4_8.xsd"
    };


    /**
     * Build a new object for Schemas handling
     */
    public ClusterDaemonSchemas() {
        super();
        addSchemas(CLUSTER_DAEMON_SCHEMAS);
    }


    /**
     * @return Returns the last Schema
     */
    public static String getLastSchema() {
        return CLUSTER_DAEMON_SCHEMAS[CLUSTER_DAEMON_SCHEMAS.length - 1];
    }

}
