<?xml version="1.0" encoding="UTF-8"?>

<!-- ===================================================================== -->
<!--                                                                       -->
<!--   Console Service Configuration                                       -->
<!--                                                                       -->
<!-- ===================================================================== -->

<server>
   <!-- Isolate the console mgr classes from other deployments -->
   <loader-repository>
      jboss.console:sar=console-mgr.sar
      <loader-repository-config>
         java2ParentDelegation=true
      </loader-repository-config>
   </loader-repository>

   <mbean code="org.jboss.console.manager.PluginManager"
      name="jboss.admin:service=PluginManager">
      <!-- The RMIAdaptor provider service -->
      <depends>jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
      <attribute name="MainLogoUrl">/web-console/images/jboss.gif</attribute>
      <attribute name="MainLinkUrl">/web-console/ServerInfo.jsp</attribute>
      <attribute name="EnableShutdown">true</attribute>
      <attribute name="JndiName">console/PluginManager</attribute>
   </mbean>

   <mbean code="org.jboss.console.manager.DeploymentFileRepository"
      name="jboss.admin:service=DeploymentFileRepository">
      <attribute name="BaseDir">./deploy/management</attribute>
   </mbean>

</server>
