/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.com
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package org.huihoo.jfox.service;

import java.lang.reflect.Proxy;

import javax.management.ObjectName;

/**
 * 
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */


public interface ComponentSupportMBean extends Component {
  /**
   * get the ObjectName of the Service, if not registered in MBeanServer, will return null
   * the ObjectName maybe signed in the MLet Config file
   */
  ObjectName getObjectName();

  /**
   * get proxy instance
   */
  Proxy getProxyInstance();

}
