Ignore:
Timestamp:
03/09/10 17:30:59 (2 years ago)
Author:
sys
Message:

OoConnection : ajout paramètre autoKill

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_Transform/src/com/scenari/s/co/transform/oo/OoConnectionPoolLoader.java

    r15083 r15085  
    5858 *   [!-- Pour un server local, lancé automatiquement, en accès socket TCP/IP. --] 
    5959 *   [ooConnection host="localhost" port="8100" autoLaunch="true"/] 
     60 *    
     61 *   [!-- Pour un server local, lancé automatiquement, en accès socket TCP/IP et kill automatique 
     62 *   à la fermeture de l'application. --] 
     63 *   [ooConnection host="localhost" port="8101" autoLaunch="true" autoKill="true" profilePath="file:///ooPf01"/] 
    6064 *    
    6165 *   [!-- Pour un server local, lancé automatiquement, en accès pipe, avec pipeName automatique. --] 
     
    129133        public static final String TAG_CONN_ATT_AUTOLAUCNH = "autoLaunch"; 
    130134 
     135        public static final String TAG_CONN_ATT_AUTOKILL = "autoKill"; 
     136 
    131137        public static final String TAG_CONN_ATT_MAXCNXATTEMPTS = "maxCnxAttempts"; 
    132138 
     
    202208                        String vAutoLaunch = pAttributes.getValue(TAG_CONN_ATT_AUTOLAUCNH); 
    203209                        if (vAutoLaunch != null) vCon.setAutoLaunch(Boolean.parseBoolean(vAutoLaunch)); 
     210 
     211                        String vAutoKill = pAttributes.getValue(TAG_CONN_ATT_AUTOLAUCNH); 
     212                        if (vAutoKill != null) vCon.setAutoKill(Boolean.parseBoolean(vAutoKill)); 
    204213 
    205214                        String vMaxCnxAttempts = pAttributes.getValue(TAG_CONN_ATT_MAXCNXATTEMPTS); 
Note: See TracChangeset for help on using the changeset viewer.