Configure CertificateCheckUrl per container for curl-like TLS checks, classify Sonic permission errors, and extend setup wizard for container management. Co-authored-by: Cursor <cursoragent@cursor.com>
333 lines
15 KiB
HTML
333 lines
15 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.5.0_19) on Fri Aug 12 11:25:09 EDT 2011 -->
|
|
<TITLE>
|
|
MBeanServerBuilder (Management Application API)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="javax.management.MBeanServerBuilder class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="MBeanServerBuilder (Management Application API)";
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="MBeanServerBuilder.html#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Sonic Management API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="MBeanServer.html" title="interface in javax.management"><B>PREV CLASS</B></A>
|
|
<A HREF="MBeanServerConnection.html" title="interface in javax.management"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html@javax%252Fmanagement%252FMBeanServerBuilder.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="MBeanServerBuilder.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="MBeanServerBuilder.html#constructor_summary">CONSTR</A> | <A HREF="MBeanServerBuilder.html#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="MBeanServerBuilder.html#constructor_detail">CONSTR</A> | <A HREF="MBeanServerBuilder.html#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
javax.management</FONT>
|
|
<BR>
|
|
Class MBeanServerBuilder</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>javax.management.MBeanServerBuilder</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>MBeanServerBuilder</B><DT>extends java.lang.Object</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<p>This class represents a builder that creates a default
|
|
<A HREF="MBeanServer.html" title="interface in javax.management"><CODE>MBeanServer</CODE></A> implementation.
|
|
The JMX <A HREF="MBeanServerFactory.html" title="class in javax.management"><CODE>MBeanServerFactory</CODE></A> allows
|
|
applications to provide their custom MBeanServer
|
|
implementation by providing a subclass of this class.</p>
|
|
|
|
<p>By default in this reference implementation, this class
|
|
instantiates implementations provided in the
|
|
<b>com.sun.jmx.mbeanserver</b> package.</p>
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Since:</B></DT>
|
|
<DD>JMX 1.2</DD>
|
|
<DT><B>See Also:</B><DD><A HREF="MBeanServer.html" title="interface in javax.management"><CODE>MBeanServer</CODE></A>,
|
|
<A HREF="MBeanServerFactory.html" title="class in javax.management"><CODE>MBeanServerFactory</CODE></A></DL>
|
|
<HR>
|
|
|
|
<P>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="MBeanServerBuilder.html#MBeanServerBuilder()">MBeanServerBuilder</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Public default constructor.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="MBeanServer.html" title="interface in javax.management">MBeanServer</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="MBeanServerBuilder.html#newMBeanServer(java.lang.String, javax.management.MBeanServer, javax.management.MBeanServerDelegate)">newMBeanServer</A></B>(java.lang.String defaultDomain,
|
|
<A HREF="MBeanServer.html" title="interface in javax.management">MBeanServer</A> outer,
|
|
<A HREF="MBeanServerDelegate.html" title="class in javax.management">MBeanServerDelegate</A> delegate)</CODE>
|
|
|
|
<BR>
|
|
This method creates a new MBeanServer implementation object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="MBeanServerDelegate.html" title="class in javax.management">MBeanServerDelegate</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="MBeanServerBuilder.html#newMBeanServerDelegate()">newMBeanServerDelegate</A></B>()</CODE>
|
|
|
|
<BR>
|
|
This method creates a new MBeanServerDelegate for a new MBeanServer.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="MBeanServerBuilder()"><!-- --></A><H3>
|
|
MBeanServerBuilder</H3>
|
|
<PRE>
|
|
public <B>MBeanServerBuilder</B>()</PRE>
|
|
<DL>
|
|
<DD>Public default constructor.
|
|
<P>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="newMBeanServer(java.lang.String, javax.management.MBeanServer, javax.management.MBeanServerDelegate)"><!-- --></A><H3>
|
|
newMBeanServer</H3>
|
|
<PRE>
|
|
public <A HREF="MBeanServer.html" title="interface in javax.management">MBeanServer</A> <B>newMBeanServer</B>(java.lang.String defaultDomain,
|
|
<A HREF="MBeanServer.html" title="interface in javax.management">MBeanServer</A> outer,
|
|
<A HREF="MBeanServerDelegate.html" title="class in javax.management">MBeanServerDelegate</A> delegate)</PRE>
|
|
<DL>
|
|
<DD>This method creates a new MBeanServer implementation object.
|
|
When creating a new MBeanServer the
|
|
<A HREF="MBeanServerFactory.html" title="class in javax.management"><CODE>MBeanServerFactory</CODE></A> first calls
|
|
<code>newMBeanServerDelegate()</code> in order to obtain a new
|
|
<A HREF="MBeanServerDelegate.html" title="class in javax.management"><CODE>MBeanServerDelegate</CODE></A> for the new
|
|
MBeanServer. Then it calls
|
|
<code>newMBeanServer(defaultDomain,outer,delegate)</code>
|
|
passing the <var>delegate</var> that should be used by the MBeanServer
|
|
implementation.
|
|
<p>Note that the passed <var>delegate</var> might not be directly the
|
|
MBeanServerDelegate that was returned by this implementation. It could
|
|
be, for instance, a new object wrapping the previously
|
|
returned delegate.
|
|
<p>The <var>outer</var> parameter is a pointer to the MBeanServer that
|
|
should be passed to the <A HREF="MBeanRegistration.html" title="interface in javax.management"><CODE>MBeanRegistration</CODE></A>
|
|
interface when registering MBeans inside the MBeanServer.
|
|
If <var>outer</var> is <code>null</code>, then the MBeanServer
|
|
implementation must use its own <code>this</code> reference when
|
|
invoking the <A HREF="MBeanRegistration.html" title="interface in javax.management"><CODE>MBeanRegistration</CODE></A> interface.
|
|
<p>This makes it possible for a MBeanServer implementation to wrap
|
|
another MBeanServer implementation, in order to implement, e.g,
|
|
security checks, or to prevent access to the actual MBeanServer
|
|
implementation by returning a pointer to a wrapping object.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>defaultDomain</CODE> - Default domain of the new MBeanServer.<DD><CODE>outer</CODE> - A pointer to the MBeanServer object that must be
|
|
passed to the MBeans when invoking their
|
|
<A HREF="MBeanRegistration.html" title="interface in javax.management"><CODE>MBeanRegistration</CODE></A> interface.<DD><CODE>delegate</CODE> - A pointer to the MBeanServerDelegate associated
|
|
with the new MBeanServer. The new MBeanServer must register
|
|
this MBean in its MBean repository.
|
|
<DT><B>Returns:</B><DD>A new private implementation of an MBeanServer.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="newMBeanServerDelegate()"><!-- --></A><H3>
|
|
newMBeanServerDelegate</H3>
|
|
<PRE>
|
|
public <A HREF="MBeanServerDelegate.html" title="class in javax.management">MBeanServerDelegate</A> <B>newMBeanServerDelegate</B>()</PRE>
|
|
<DL>
|
|
<DD>This method creates a new MBeanServerDelegate for a new MBeanServer.
|
|
When creating a new MBeanServer the
|
|
<A HREF="MBeanServerFactory.html" title="class in javax.management"><CODE>MBeanServerFactory</CODE></A> first calls this method
|
|
in order to create a new MBeanServerDelegate.
|
|
<br>Then it calls
|
|
<code>newMBeanServer(defaultDomain,outer,delegate)</code>
|
|
passing the <var>delegate</var> that should be used by the MBeanServer
|
|
implementation.
|
|
<p>Note that the passed <var>delegate</var> might not be directly the
|
|
MBeanServerDelegate that was returned by this method. It could
|
|
be, for instance, a new object wrapping the previously
|
|
returned object.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>A new <A HREF="MBeanServerDelegate.html" title="class in javax.management"><CODE>MBeanServerDelegate</CODE></A>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="MBeanServerBuilder.html#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Sonic Management API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="MBeanServer.html" title="interface in javax.management"><B>PREV CLASS</B></A>
|
|
<A HREF="MBeanServerConnection.html" title="interface in javax.management"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html@javax%252Fmanagement%252FMBeanServerBuilder.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="MBeanServerBuilder.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="MBeanServerBuilder.html#constructor_summary">CONSTR</A> | <A HREF="MBeanServerBuilder.html#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="MBeanServerBuilder.html#constructor_detail">CONSTR</A> | <A HREF="MBeanServerBuilder.html#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<font size="-1">Copyright © 2001-2011
|
|
<a href="http://www.progress.com" target="_top"> Progress Software Corporation</a>. All Rights Reserved.
|
|
<br>HTML formatted on 12-Aug-2011.</font>
|
|
</BODY>
|
|
</HTML>
|