import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.management.ObjectName;
import javax.management.MBeanInfo;
import javax.management.MBeanAttributeInfo;
import javax.management.MBeanOperationInfo;
import javax.management.MBeanParameterInfo;
import java.lang.management.ManagementFactory;
import javax.management.AttributeNotFoundException;

#Python Dependencies
import sys, cmd, optparse
#from urlparse import urljoin
from cmd import Cmd

class ConnectionError :  pass 
class DomainNotFoundError : pass 
class DomainIsNoneError : pass 
class ObjectNameNotFoundError : pass 
class MBeanNotFoundError : pass 
class MBeanAttributeNotFoundError : pass 
class MBeanOperationNotFoundError : pass 
class SetAttributeError : pass 
class OperationNotFoundError : pass
class InvokeError : pass 

class JmxClient :

    host = None 
    port = None 
    domain = None 
    MBeansPath = None
    remote = None 
    connector = None