KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > core > application > SeparatorModule


1 /*
2  * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: SeparatorModule.java,v 1.4 2007/01/07 06:14:39 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; version 2 of the License.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */

21
22 package org.opensubsystems.core.application;
23
24 /**
25  * Dummy module responsible for separating other modules.
26  *
27  * @version $Id: SeparatorModule.java,v 1.4 2007/01/07 06:14:39 bastafidli Exp $
28  * @author Miro Halas
29  * @code.reviewer Miro Halas
30  * @code.reviewed 1.2 2006/03/13 15:39:55 bastafidli
31  */

32 public class SeparatorModule extends ThickClientModuleImpl
33 {
34    // Constants ////////////////////////////////////////////////////////////////
35

36    /**
37     * Well known name of the separator module.
38     */

39    public static final String JavaDoc SEPARATOR = "SEPARATOR";
40    
41    // Public methods ///////////////////////////////////////////////////////////
42

43    /**
44     * {@inheritDoc}
45     */

46    public String JavaDoc getName()
47    {
48       return SEPARATOR;
49    }
50
51    /**
52     * {@inheritDoc}
53     */

54    public boolean activate(
55       boolean bReactivate
56    )
57    {
58       assert false : "This method shouldn't be ever invoked.";
59       return false;
60    }
61
62    /**
63     * {@inheritDoc}
64     */

65    public void pasivate(
66    )
67    {
68       assert false : "This method shouldn't be ever invoked.";
69    }
70 }
71
Popular Tags