avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon-phoenix/src/conf kernel.xml emx4j-kernel.xml
Date Fri, 11 Apr 2003 11:17:58 GMT
donaldp     2003/04/11 04:17:57

  Modified:    src/conf kernel.xml
  Removed:     src/conf emx4j-kernel.xml
  Log:
  Migrate sample scripting SystemManager into kernel.xml
  
  Revision  Changes    Path
  1.37      +52 -0     avalon-phoenix/src/conf/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/conf/kernel.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- kernel.xml	8 Apr 2003 09:48:48 -0000	1.36
  +++ kernel.xml	11 Apr 2003 11:17:56 -0000	1.37
  @@ -97,6 +97,58 @@
           </component>
           -->
   
  +        <!--
  +        This SystemManager is useful when you want to do arbitrary scripting of MBeans
  +        to setup the MX manager. You can pretty much configure any mbean on the classpath
  +        via this mechanism.
  +        <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
  +            class="org.apache.avalon.phoenix.components.manager.ExtendedMX4JSystemManager"
  +            logger="manager">
  +
  +            <mbean name="Http:name=XSLTProcessor" class="mx4j.adaptor.http.XSLTProcessor">
  +                <attribute name="File" type="java.lang.String">conf/xsl</attribute>
  +                <attribute name="UseCache" type="java.lang.Boolean">false</attribute>
  +            </mbean>
  +            <mbean name="Http:name=HttpAdaptor" class="mx4j.adaptor.http.HttpAdaptor">
  +                <use name="ProcessorName">Http:name=XSLTProcessor</use>
  +                <attribute name="Host" type="java.lang.String">localhost</attribute>
  +                <attribute name="Port" type="java.lang.Integer">8082</attribute>
  +                <attribute name="AuthenticationMethod" type="java.lang.String">basic</attribute>
  +
  +                <startup>
  +                    <invoke name="addAuthorization">
  +                        <parameter type="java.lang.String">jmx</parameter>
  +                        <parameter type="java.lang.String">jmx</parameter>
  +                    </invoke>
  +                    <invoke name="start"/>
  +                </startup>
  +                <shutdown>
  +                    <invoke name="stop"/>
  +                </shutdown>
  +            </mbean>
  +
  +            <mbean name="Naming:type=rmiregistry" class="mx4j.tools.naming.NamingService">
  +                <startup>
  +                    <invoke name="start"/>
  +                </startup>
  +                <shutdown>
  +                    <invoke name="stop"/>
  +                </shutdown>
  +            </mbean>
  +            <mbean name="Adaptor:protocol=JRMP" class="mx4j.adaptor.rmi.jrmp.JRMPAdaptor">
  +                <attribute name="JNDIName" type="java.lang.String">jrmp</attribute>
  +
  +                <startup>
  +                    <invoke name="start"/>
  +                </startup>
  +                <shutdown>
  +                    <invoke name="stop"/>
  +                </shutdown>
  +            </mbean>
  +
  +        </component>
  +        -->
  +
           <!-- There are two kernels
             org.apache.avalon.phoenix.components.kernel.DefaultKernel
               - The default one.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message