org.objectweb.jonas.ant.jonasbase
Class Services

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.objectweb.jonas.ant.BootstrapTask
              extended byorg.objectweb.jonas.ant.jonasbase.JTask
                  extended byorg.objectweb.jonas.ant.jonasbase.Services
All Implemented Interfaces:
BaseTaskItf, java.lang.Cloneable

public class Services
extends JTask
implements BaseTaskItf

Allow to configure the list of services in jonas.properties file

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.objectweb.jonas.ant.jonasbase.JTask
SEPARATORS
 
Fields inherited from class org.apache.tools.ant.Task
target, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Services()
          Default constructor
 
Method Summary
 void execute()
          Execute this task
 void setConfigfile(java.lang.String configfile)
          Set the name of the JOnAS log config file
 void setCsiv2Propagation(boolean csiv2propagation)
          Enable or disable Csiv2 propagation
 void setNames(java.lang.String serviceNames)
          Set the names of the services
 void setSecurityManager(boolean securitymanager)
          Enable or disable SecurityManager
 void setSecurityPropagation(boolean securitypropagation)
          Enable or disable Security propagation
 void setTransactionPropagation(boolean transactionpropagation)
          Enable or disable Transaction propagation
 
Methods inherited from class org.objectweb.jonas.ant.jonasbase.JTask
changeValueForKey, changeValueForKey, getConfigurationFile, getDestDir, getLogInfo, setConfigurationFile, setDestDir, setLogInfo, writePropsToFile
 
Methods inherited from class org.objectweb.jonas.ant.BootstrapTask
createClasspath, getBootstraptask, getCatalinaHome, getDomainName, getJettyHome, getJonasRoot, getServerName, getTaskName, setCatalinaHome, setClasspath, setDomainName, setJettyHome, setJonasbase, setJonasRoot, setJvmopts, setServerName, setTaskName
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas.ant.jonasbase.BaseTaskItf
getLogInfo, setConfigurationFile, setDestDir, setJonasRoot, setLogInfo
 

Constructor Detail

Services

public Services()
Default constructor

Method Detail

setNames

public void setNames(java.lang.String serviceNames)
Set the names of the services

Parameters:
serviceNames - list of services

setSecurityManager

public void setSecurityManager(boolean securitymanager)
Enable or disable SecurityManager


setSecurityPropagation

public void setSecurityPropagation(boolean securitypropagation)
Enable or disable Security propagation


setCsiv2Propagation

public void setCsiv2Propagation(boolean csiv2propagation)
Enable or disable Csiv2 propagation


setTransactionPropagation

public void setTransactionPropagation(boolean transactionpropagation)
Enable or disable Transaction propagation


setConfigfile

public void setConfigfile(java.lang.String configfile)
Set the name of the JOnAS log config file

Parameters:
configfile - log config file name

execute

public void execute()
Execute this task

Specified by:
execute in interface BaseTaskItf