--                    LDAP Schema for JSR 160 Lookup
--                    ------------------------------

-- AttributeTypes:
-----------------

-- jmxServiceURL attribute is an IA5 String

( 1.3.6.1.4.1.42.2.27.11.1.1 NAME 'jmxServiceURL' 
  DESC 'String representation of a JMX Service URL' 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 
  SINGLE-VALUE )

-- jmxAgentName attribute is an IA5 String

( 1.3.6.1.4.1.42.2.27.11.1.2 NAME 'jmxAgentName' 
  DESC 'Name of the JMX Agent' 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 
  SINGLE-VALUE )

-- jmxProtocolType attribute is an IA5 String

( 1.3.6.1.4.1.42.2.27.11.1.3 NAME 'jmxProtocolType' 
  DESC 'Protocol used by the registered connector' 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 
  SINGLE-VALUE )

-- jmxAgentHost attribute is an IA5 String

( 1.3.6.1.4.1.42.2.27.11.1.4 NAME 'jmxAgentHost' 
  DESC 'Names or IP Addresses of the host on which the agent is running. 
        When multiple values are given, they should be aliases to the 
        same host.'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26  )

-- jmxProperty attribute is an IA5 String

( 1.3.6.1.4.1.42.2.27.11.1.5 NAME 'jmxProperty' 
  DESC 'Java-like property characterizing the registered object. 
        The form of each value should be: "<property-name>=<value>". 
        For instance: "com.sun.jmx.remote.tcp.timeout=200"' 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

-- jmxExpirationDate attribute is a Generalized Time
-- see [RFC 2252] - or X.208 for a description of
-- Generalized Time

( 1.3.6.1.4.1.42.2.27.11.1.6 NAME 'jmxExpirationDate' 
  DESC 'Date at which the JMX Service URL will be considered obsolete 
        and may be removed from the directory tree' 
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
  SINGLE-VALUE )


-- ObjectClasses:
-----------------

-- jmxConnector class - represents a JMX Connector.
-- must contain the JMX Service URL
-- and the JMX Agent Name

( 1.3.6.1.4.1.42.2.27.11.2.1 NAME 'jmxConnector' 
  DESC  'A class representing a JMX Connector, and containing a 
         JMX Service URL. The jmxServiceURL is not present if the server 
         is not accepting connections' 
  AUXILIARY 
  MUST  ( jmxAgentName  ) 
  MAY   ( jmxServiceURL $ jmxAgentHost $ jmxProtocolType $ jmxProperty $ 
          jmxExpirationDate $ description ) )

