1 /* 2 * JORAM: Java(TM) Open Reliable Asynchronous Messaging 3 * Copyright (C) 2003 - 2006 ScalAgent Distributed Technologies 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 * USA. 19 * 20 * Initial developer(s): NicoScalAgent Distributed Technologies 21 * Contributor(s): 22 */ 23 package org.objectweb.joram.shared.admin; 24 25 /** 26 * An <code>SpecialAdmin</code> is a request sent by 27 * a client administrator inside a 28 * <code>org.objectweb.joram.shared.messages.Message</code> to an 29 * <code>org.objectweb.joram.mom.dest.AdminTopic</code> topic for 30 * requesting an special admin operation. 31 */ 32 public class SpecialAdmin extends AdminRequest { 33 private static final long serialVersionUID = 7069586017601565452L; 34 35 /** Identifier of the destination. */ 36 private String destId; 37 38 public SpecialAdmin(String destId) { 39 this.destId = destId; 40 } 41 42 /** Returns the identifier of the destination. */ 43 public String getDestId() { 44 return destId; 45 } 46 } 47