cle_clock
Home > wikikonf >  tom/actions/by kikonf > beanrsc







Beanrsc

print

Action : tom.beanrsc   (Category : tom, Name : beanrsc, By : kikonf)
Complete Name : tom.beanrsc.by.kikonf
Version : 4.0        License : Modified BSD License

Purpose of the tom category :
Easy to customize. This category use in background the Kikonf Repoz tools to create and configure Apache Tomcat ® root installs and Catalina bases at any level (server.xml, hosts or defaults).
You can use it to manage the whole Tomcat ® Architecture.

Purpose of this beanrsc plugin : This Action configures a Tomcat Bean Factory Resource.

The following shows a sample Action File to use with the Action : tom.beanrsc
This sample file can be run with this command : kikact  tom.beanrsc

Toggle lines
<!-- This will create a resource at the Tomcat Global Resources level and a ResourceLink at the Context level -->
<beanrsc
    type = 'action'
    name = 'bean/myBean'
    btype = 'com.mycompany.MyBean'
>

    <!-- <scope context.global='true' context='*blank' resources.global='true'/> -->   
    <scope context='*blank' context.global='true' resources.global='true'/>  
    <!-- <scope context='*blank'/> --> 
    
    <!-- <scope host='localhost'/> -->     
    <!-- <scope engine='Catalina'/> -->
    <!-- <scope host='localhost'/> -->
    <!-- <scope context.global='true' context='*blank'/> -->
    <!-- <scope context='*blank'/> -->

    <resource
        auth='false'
    >    
        <properties>
            <property name='prop1' value='value1'/>
            <property name='prop2' value='value2'/>
            <property name='prop3' value='value3'/>
        </properties>
    </resource>

    <link name = 'bean/local_name'/>
    
</beanrsc>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/tom/beanrsc/by/kikonf/tom.beanrsc.by.kikonf.xml)


  • Line 1 to 3 say something , say something , say something
  • Line 10 to 17 say something , say something , say something , say something , say something
  • Line 20 to 25 say something



Trademarks :
  • "Apache", "Apache Tomcat" and "Tomcat" are trademarks of the Apache Software Foundation.
  • "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
  • Other names may be trademarks of their respective owners.

Copyright © 2011 - Patrick Placidoux, Hélène Malamoud