cle_clock
Home > wikikonf >  was/actions/by kikonf > cache







Cache

print

Action : was.cache   (Category : was, Name : cache, By : kikonf)
Complete Name : was.cache.by.kikonf
Version : 5.0        License : Modified BSD License

Purpose of the was category :
Easy to customize. This category use in background the wsadmin command in jython mode (through AdminConfig, AdminControl and AdminTask), to drive WebSphere Application Server configuration.
You can use it to manage the whole WebSphere architecture.

Purpose of this cache plugin : Creates a new ObjectCacheInstance

The following shows the Descriptor File for the Action : was.cache

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                                                -->
<!-- ====================================================================== -->
<!--                                                                        -->
<!--                                                                        -->
<!--                                                                        -->
<!-- DESCRIPTION : Was alias configuration.                                 -->
<!--                                                                        -->
<!-- ====================================================================== -->
<!-- UPDATE     |     DATE     |   CODE   |  REASON                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->


<cache
    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':
            {
                'was':
                {
                    '*ge':'6.1',
                    '*le':'7.9',
                    '*required':True
                }
            },
        '*deny':True, 
        '*display':False
    }"
    
    name='{*required:True}'
    jndi_name='{*required:True,*label:jndi name}'
    size='{*value:50,*type:int,*required:True}'
    prefix='{*help:%lang/action.was.en/prefix.help}'
    desc=''
    __wk__='{\
        *help:%lang/action.was.en/cache.help,\
        *lhelp:%lang/action.was.en/cache.lhelp\
    }'
    >
    
    <scope 
        cell = '{*value:false,*checkIn:(false,true),*required:True}'
        node = ''
        server = ''
        cluster = ''
        __wk__='{\
            *eq:1,\
            *help:%lang/action.was.en/scope.help,\
            *lhelp:%lang/action.was.en/scope.lhelp,\
        }'
    />

</cache>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/was/cache/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 was.cache Descriptor File :

/cache>   Creates a new ObjectCacheInstance
Name Default Type Required Denied Help
name     True    
jndi_name     True    
size 50 int True    
prefix         Using prefix for configuration resource names is a generic way to define them
desc   str      

/cache/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name Default Type Required Denied Help
cell false (false, true) True    
node   str      
server   str      
cluster   str      


  • 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 :
  • "IBM", "WebSphere", "WebSphere Aplication Server", "WAS" are registred trademarks of International Business Machines Corporation.
  • "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