001 /**
002 * ===================================================
003 * JCommon-Serializer : a free serialization framework
004 * ===================================================
005 *
006 * Project Info: http://www.jfree.org/jfreereport/jcommon-serializer/
007 * Project Lead: Thomas Morgner;
008 *
009 * (C) Copyright 2006, by Object Refinery Limited and Pentaho Corporation.
010 *
011 * This library is free software; you can redistribute it and/or modify it under the terms
012 * of the GNU Lesser General Public License as published by the Free Software Foundation;
013 * either version 2.1 of the License, or (at your option) any later version.
014 *
015 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
016 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
017 * See the GNU Lesser General Public License for more details.
018 *
019 * You should have received a copy of the GNU Lesser General Public License along with this
020 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
021 * Boston, MA 02111-1307, USA.
022 *
023 * [Java is a trademark or registered trademark of Sun Microsystems, Inc.
024 * in the United States and other countries.]
025 *
026 * ------------
027 * JCommonSerializerInfo.java
028 * ------------
029 * (C) Copyright 2006, by Object Refinery Limited and Pentaho Corporation.
030 *
031 * Original Author: Thomas Morgner;
032 * Contributor(s): -;
033 *
034 * $Id: JCommonSerializerInfo.java 3093 2007-08-01 19:34:59Z tmorgner $
035 *
036 * Changes
037 * -------
038 *
039 *
040 */
041
042 package org.jfree.serializer;
043
044 import java.util.Arrays;
045
046 import org.jfree.ui.about.ProjectInfo;
047 import org.jfree.ui.about.Contributor;
048 import org.jfree.JCommonInfo;
049
050 /**
051 * Creation-Date: 23.10.2005, 18:49:39
052 *
053 * @author Thomas Morgner
054 */
055 public class JCommonSerializerInfo extends ProjectInfo
056 {
057 /**
058 * The info singleton.
059 */
060 private static JCommonSerializerInfo singleton;
061
062 /**
063 * Returns the single instance of this class.
064 *
065 * @return The single instance of information about the JCommon library.
066 */
067 public static synchronized JCommonSerializerInfo getInstance()
068 {
069 if (singleton == null)
070 {
071 singleton = new JCommonSerializerInfo();
072 }
073 return singleton;
074 }
075
076
077 /**
078 * Constructs an empty project info object.
079 */
080 private JCommonSerializerInfo()
081 {
082 final JCommonInfo info = JCommonInfo.getInstance();
083
084 setName("JCommon-Serializer");
085 setVersion("0.2.0");
086 setInfo("http://reporting.pentaho.org/jcommon-serializer/");
087 setCopyright("(C)opyright 2006-2007, by Pentaho Corporation, Object Refinery Limited and Contributors");
088
089 setLicenceName(info.getLicenceName());
090 setLicenceText(info.getLicenceText());
091
092 setContributors(Arrays.asList(new Contributor[]{
093 new Contributor("David Gilbert", "david.gilbert@object-refinery.com"),
094 new Contributor("Thomas Morgner", "tmorgner@pentaho.org"),
095 }));
096
097 setBootClass(JCommonSerializerBoot.class.getName());
098 }
099
100 }