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 the Descriptor File for the Action : tom.beanrsc

Toggle lines
<!-- Copyright (c) 2008, Patrick Germain Placidoux                          -->
<!-- All rights reserved.                                                   -->
<!--                                                                        -->
<!-- This file is part of Kikonf Public Software.                           -->
<!--                                                                        -->
<!-- Kikonf Public Software is released under the modified BSD License,     -->
<!-- which should accompany it or any part of it in the file "COPYING".     -->
<!-- If you do not have this file you can access the license                -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt.      -->
<!--                                                                        -->
<!-- Home page: http://www.kikonf.org                                       -->
<!-- Contact: kikonf@gmx.com                                                -->
<!-- ====================================================================== -->
<!--                                                                        -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->
<!-- UPDATE     |     DATE     |   CODE   |  REASON                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->

<beanrsc

    type = '{\
        *eq:action,\
        *required:True,\
        *display:False\
    }'
    bal = '{*display:False}'
    sub_type = '{\
        *value:configuration,\
        *eq:configuration,\
        *required:True,\
        *deny:True,\
        *display:False\
    }'
    softwares = "{
        '*type':'dict',
        '*dtype':
            {
                'tom':
                {
                    '*ge':'5.5',
                    '*le':'7',
                    '*required':True
                }
            },
        '*deny':True, 
        '*display':False
    }"

    name ='{\
        *required:True,\
        *help:%lang/action.tom.en/beanrsc.resource.name.help,\
        *help:%lang/action.tom.en/beanrsc.resource.name.lhelp,\
    }'
    
    btype='{*required:True,\
        *help:%lang/action.tom.en/beanrsc.btype.help,\
        *lhelp:%lang/action.tom.en/beanrsc.btype.lhelp,\
    }'    
    __wk__='{\
        *help:%lang/action.tom.en/beanrsc.help,\
        *lhelp:%lang/action.tom.en/beanrsc.lhelp\
    }'    
>

    <scope 
        cbase = "{'*value':'$[software_tom_catalina_base]'}"
        service = ''
        engine = ''
        host = ''
        context.global = '{*checkIn:(true,false),*value:false}'
        context = ''
        context.default.global = '{*checkIn:(true,false),*value:false}'
        context.default = '{*checkIn:(true,false),*value:false}'
        resources.global = '{*checkIn:(true,false),*value:false}'

        __wk__ = '{\
            *eq:1,\
            *help:%lang/action.tom.en/scope.help,\
            *lhelp:%lang/action.tom.en/scope.lhelp,\
        }'
    />

    <resource

        auth = '{\
            *value:true,\
            *checkIn:(true,false),\
            *help:%lang/action.tom.en/auth.help,\
            *lhelp:%lang/action.tom.en/auth.lhelp,\
        }'
    >

        <properties>
            <property 
                name='{*required:True}' 
                value='{*required:True}'
                __wk__ = '{\
                    *ge:0,\
                    *help:%lang/action.tom.en/beanrsc.resource.properties.property.help,\
                    *lhelp:%lang/action.tom.en/beanrsc.resource.properties.property.lhelp\
                }'
             />
            __wk__ = '{\
                *le:1,\
                *help:%lang/action.tom.en/beanrsc.resource.properties.help,\
                *lhelp:%lang/action.tom.en/beanrsc.resource.properties.lhelp\
            }'
        </properties>

        __wk__ = '{\
            *le:1,\
            *help:%lang/action.tom.en/beanrsc.resource.help,\
            *lhelp:%lang/action.tom.en/beanrsc.resource.lhelp\
        }'

    </resource>
    
    <link 
        name = '{*help:%lang/action.tom.en/link.help,*lhelp:%lang/action.tom.en/link.lhelp}'
        __wk__ = '{\
            *le:1,\
            *help:%lang/action.tom.en/link.help,\
            *lhelp:%lang/action.tom.en/link.lhelp\
        }'
    />

</beanrsc>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/tom/beanrsc/by/kikonf/ACT_INF/action.xml)


A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported Tags, Attributes and Attributes values for one Action.
The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf.

The table below summarizes the informations provided by the tom.beanrsc Descriptor File :

/beanrsc>   This Action configures a Tomcat Bean Factory Resource.
Name Default Type Required Denied Help
name     True   %lang/action.tom.en/beanrsc.resource.name.lhelp
btype     True   The class representing this Java Bean

/beanrsc/scope>   A scope refers to configuration Level within the Tomcat scheme.
Required:True
Name Default Type Required Denied Help
cbase $[software_tom_catalina_base]        
service   str      
engine   str      
host   str      
context.global false (true, false)      
context   str      
context.default.global false (true, false)      
context.default false (true, false)      
resources.global false (true, false)      

/beanrsc/resource>  
Name Default Type Required Denied Help
auth true (true, false)     Authentification Type.
*Text __wk__ = '{\
*le:1,\
*help:%lang/action.tom.en/beanrsc.resource.help,\
*lhelp:%lang/action.tom.en/beanrsc.resource.lhelp\
}'
    

/beanrsc/resource/properties>  
Name Default Type Required Denied Help
*Text __wk__ = '{\
*le:1,\
*help:%lang/action.tom.en/beanrsc.resource.properties.help,\
*lhelp:%lang/action.tom.en/beanrsc.resource.properties.lhelp\
}'
    

/beanrsc/resource/properties/property>   Init a Bean property.
Name Default Type Required Denied Help
name     True    
value     True    

/beanrsc/link>   Referencing the Global Resource.
Name Default Type Required Denied Help
name         Referencing the Global Resource.



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