Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > ee5115d1de8d9cf1c36a33cc4513700b > files > 547

mx4j-manual-3.0.1-9.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_40) on Fri Oct 18 06:47:25 UTC 2013 -->
<title>HTTPConnectionMBeanServerConnection (MX4J API)</title>
<meta name="date" content="2013-10-18">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="HTTPConnectionMBeanServerConnection (MX4J API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTTPConnectionMBeanServerConnection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnectionManager.html" title="class in mx4j.tools.remote.http"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnector.html" title="class in mx4j.tools.remote.http"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html" target="_top">Frames</a></li>
<li><a href="HTTPConnectionMBeanServerConnection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">mx4j.tools.remote.http</div>
<h2 title="Class HTTPConnectionMBeanServerConnection" class="title">Class HTTPConnectionMBeanServerConnection</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html" title="class in mx4j.tools.remote">mx4j.tools.remote.JMXConnectionMBeanServerConnection</a></li>
<li>
<ul class="inheritance">
<li>mx4j.tools.remote.http.HTTPConnectionMBeanServerConnection</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>javax.management.MBeanServerConnection</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">HTTPConnectionMBeanServerConnection</span>
extends <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html" title="class in mx4j.tools.remote">JMXConnectionMBeanServerConnection</a></pre>
<div class="block">Implementation of an adapter that converts MBeanServerConnection calls
 to HTTPConnection calls.
 It handles remote notifications, but it does not handle unmarshalling of
 arguments (and all related classloading problems).
 NotificationFilters are always invoked on client side.</div>
<dl><dt><span class="strong">Version:</span></dt>
  <dd>$Revision: 1.3 $</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html#HTTPConnectionMBeanServerConnection(mx4j.tools.remote.JMXConnection, javax.security.auth.Subject, mx4j.remote.RemoteNotificationClientHandler)">HTTPConnectionMBeanServerConnection</a></strong>(<a href="../../../../mx4j/tools/remote/JMXConnection.html" title="interface in mx4j.tools.remote">JMXConnection</a>&nbsp;connection,
                                   javax.security.auth.Subject&nbsp;delegate,
                                   <a href="../../../../mx4j/remote/RemoteNotificationClientHandler.html" title="interface in mx4j.remote">RemoteNotificationClientHandler</a>&nbsp;notificationHandler)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html#addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)">addNotificationListener</a></strong>(javax.management.ObjectName&nbsp;observed,
                       javax.management.NotificationListener&nbsp;listener,
                       javax.management.NotificationFilter&nbsp;filter,
                       java.lang.Object&nbsp;handback)</code>
<div class="block">Adds a NotificationListener to a registered MBean.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener)">removeNotificationListener</a></strong>(javax.management.ObjectName&nbsp;observed,
                          javax.management.NotificationListener&nbsp;listener)</code>
<div class="block">Removes the specified listener from the named source MBean.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)">removeNotificationListener</a></strong>(javax.management.ObjectName&nbsp;observed,
                          javax.management.NotificationListener&nbsp;listener,
                          javax.management.NotificationFilter&nbsp;filter,
                          java.lang.Object&nbsp;handback)</code>
<div class="block">Removes the specified listener from the named source MBean.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mx4j.tools.remote.JMXConnectionMBeanServerConnection">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;mx4j.tools.remote.<a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html" title="class in mx4j.tools.remote">JMXConnectionMBeanServerConnection</a></h3>
<code><a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object)">addNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#createMBean(java.lang.String, javax.management.ObjectName)">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[])">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName)">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object[], java.lang.String[])">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getAttribute(javax.management.ObjectName, java.lang.String)">getAttribute</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getAttributes(javax.management.ObjectName, java.lang.String[])">getAttributes</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getConnection()">getConnection</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getDefaultDomain()">getDefaultDomain</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getDelegateSubject()">getDelegateSubject</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getDomains()">getDomains</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getMBeanCount()">getMBeanCount</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getMBeanInfo(javax.management.ObjectName)">getMBeanInfo</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#getObjectInstance(javax.management.ObjectName)">getObjectInstance</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#invoke(javax.management.ObjectName, java.lang.String, java.lang.Object[], java.lang.String[])">invoke</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#isInstanceOf(javax.management.ObjectName, java.lang.String)">isInstanceOf</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#isRegistered(javax.management.ObjectName)">isRegistered</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#queryMBeans(javax.management.ObjectName, javax.management.QueryExp)">queryMBeans</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#queryNames(javax.management.ObjectName, javax.management.QueryExp)">queryNames</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName)">removeNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.management.NotificationFilter, java.lang.Object)">removeNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#setAttribute(javax.management.ObjectName, javax.management.Attribute)">setAttribute</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#setAttributes(javax.management.ObjectName, javax.management.AttributeList)">setAttributes</a>, <a href="../../../../mx4j/tools/remote/JMXConnectionMBeanServerConnection.html#unregisterMBean(javax.management.ObjectName)">unregisterMBean</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="HTTPConnectionMBeanServerConnection(mx4j.tools.remote.JMXConnection, javax.security.auth.Subject, mx4j.remote.RemoteNotificationClientHandler)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTPConnectionMBeanServerConnection</h4>
<pre>public&nbsp;HTTPConnectionMBeanServerConnection(<a href="../../../../mx4j/tools/remote/JMXConnection.html" title="interface in mx4j.tools.remote">JMXConnection</a>&nbsp;connection,
                                   javax.security.auth.Subject&nbsp;delegate,
                                   <a href="../../../../mx4j/remote/RemoteNotificationClientHandler.html" title="interface in mx4j.remote">RemoteNotificationClientHandler</a>&nbsp;notificationHandler)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNotificationListener</h4>
<pre>public&nbsp;void&nbsp;addNotificationListener(javax.management.ObjectName&nbsp;observed,
                           javax.management.NotificationListener&nbsp;listener,
                           javax.management.NotificationFilter&nbsp;filter,
                           java.lang.Object&nbsp;handback)
                             throws javax.management.InstanceNotFoundException,
                                    java.io.IOException</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code>javax.management.MBeanServerConnection</code></strong></div>
<div class="block">Adds a NotificationListener to a registered MBean.
 A notification emitted by the specified source MBean will be forwarded by the MBeanServer to the given listener,
 if the given NotificationFilter allows so. If the filter is null, every notification will be sent to the
 listener.
 The handback object is transparently passed to the listener by the MBeanServer.
 The source of the notification is the source MBean ObjectName.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>observed</code> - The ObjectName of the source MBean on which the listener should be added.</dd><dd><code>listener</code> - The listener which will handle the notifications emitted by the source MBean.</dd><dd><code>filter</code> - The filter which will allow the notification to be forwarded to the listener.</dd><dd><code>handback</code> - The context to be sent to the listener when a notification is emitted.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>javax.management.InstanceNotFoundException</code> - If the source MBean is not registered in the MBeanServer.</dd>
<dd><code>java.io.IOException</code> - If a communication problem occurred.</dd><dt><span class="strong">See Also:</span></dt><dd><code>MBeanServerConnection.removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)</code></dd></dl>
</li>
</ul>
<a name="removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNotificationListener</h4>
<pre>public&nbsp;void&nbsp;removeNotificationListener(javax.management.ObjectName&nbsp;observed,
                              javax.management.NotificationListener&nbsp;listener)
                                throws javax.management.InstanceNotFoundException,
                                       javax.management.ListenerNotFoundException,
                                       java.io.IOException</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code>javax.management.MBeanServerConnection</code></strong></div>
<div class="block">Removes the specified listener from the named source MBean.
 If the listener is registered more than once, for example with different filters or handbacks,
 this method will remove all those registrations.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>observed</code> - The ObjectName of the source MBean on which the listener should be removed.</dd><dd><code>listener</code> - The listener to be removed.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>javax.management.InstanceNotFoundException</code> - If the source MBean is not registered in the MBeanServer.</dd>
<dd><code>javax.management.ListenerNotFoundException</code> - If the listener is not registered in the MBean.</dd>
<dd><code>java.io.IOException</code> - If a communication problem occurred.</dd><dt><span class="strong">See Also:</span></dt><dd><code>MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)</code></dd></dl>
</li>
</ul>
<a name="removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removeNotificationListener</h4>
<pre>public&nbsp;void&nbsp;removeNotificationListener(javax.management.ObjectName&nbsp;observed,
                              javax.management.NotificationListener&nbsp;listener,
                              javax.management.NotificationFilter&nbsp;filter,
                              java.lang.Object&nbsp;handback)
                                throws javax.management.InstanceNotFoundException,
                                       javax.management.ListenerNotFoundException,
                                       java.io.IOException</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code>javax.management.MBeanServerConnection</code></strong></div>
<div class="block">Removes the specified listener from the named source MBean.
 The MBean must have a listener that exactly matches the given listener, filter, and handback parameters.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>observed</code> - The ObjectName of the source MBean on which the listener should be removed.</dd><dd><code>listener</code> - The listener to be removed.</dd><dd><code>filter</code> - The filter that was specified when the listener was added.</dd><dd><code>handback</code> - The handback that was specified when the listener was added.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>javax.management.InstanceNotFoundException</code> - If the source MBean is not registered in the MBeanServer.</dd>
<dd><code>javax.management.ListenerNotFoundException</code> - If the listener (along with filter and handback) is not registered in the MBean.</dd>
<dd><code>java.io.IOException</code> - If a communication problem occurred.</dd><dt><span class="strong">See Also:</span></dt><dd><code>MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)</code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTTPConnectionMBeanServerConnection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnectionManager.html" title="class in mx4j.tools.remote.http"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnector.html" title="class in mx4j.tools.remote.http"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?mx4j/tools/remote/http/HTTPConnectionMBeanServerConnection.html" target="_top">Frames</a></li>
<li><a href="HTTPConnectionMBeanServerConnection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><center><small>Copyright &#169; 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center></small></p>
</body>
</html>