/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

// $Id: ObjectNameDeser.java,v 1.4.6.1 2004/08/08 21:28:04 tdiesler Exp $

package org.jboss.net.jmx.adaptor;

import org.apache.axis.encoding.ser.SimpleDeserializer;

import javax.management.ObjectName;
import javax.xml.namespace.QName;

/**
 * @author <a href="mailto:a_taherkordi@users.sourceforge.net">Alireza Taherkordi</a>
 * @version $Revision: 1.4.6.1 $
 */

public class ObjectNameDeser extends SimpleDeserializer
{

   public ObjectNameDeser(Class javaType, QName xmlType)
   {
      super(javaType, xmlType);
   }

   /* (non-Javadoc)
    * @see org.apache.axis.encoding.ser.SimpleDeserializer#makeValue(java.lang.String)
    */
   public Object makeValue(String arg0) throws Exception
   {
      return new ObjectName(arg0);
   }

}
