org.ow2.jonas.antmodular.jonasbase.jms
Class Jms

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
              extended by org.ow2.jonas.antmodular.jonasbase.jms.Jms
All Implemented Interfaces:
Cloneable

public class Jms
extends AbstractJOnASBaseAntTask

Allow to configure the JMS service.

Author:
Florent Benoit

Field Summary
static String EOL
          EOL
static String JORAM_ADMIN_CONF_FILE
          Name of Joram Admin configuration file.
static String JORAM_ADMIN_DEPLOYABLE_FILE
          JORAM Admin deployable file
static String JORAM_CONF_FILE
          Name of Joram configuration file.
static String MANDATORY_DEPLOYABLE_PACKAGE
          Package of mandatory deployables
 
Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
CONF_DIR, destDir, jonasRoot, skipOptionalDeployablesCopy, tasks
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Jms()
          Default constructor.
 
Method Summary
 void execute()
          Execute all task
 void setHost(String host)
          Set the host name for Joram.
 void setInitialQueues(String initialQueues)
          Set the initial queues when JOnAS start.
 void setInitialTopics(String initialTopics)
          Set the initial topics when JOnAS start.
 void setPort(String portNumber)
          Set the port number for Joram.
 
Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
addTask, addTasks, copyTemplateDeployables, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir, setSkipOptionalDeployablesCopy
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, 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
 

Field Detail

JORAM_CONF_FILE

public static final String JORAM_CONF_FILE
Name of Joram configuration file.

See Also:
Constant Field Values

JORAM_ADMIN_CONF_FILE

public static final String JORAM_ADMIN_CONF_FILE
Name of Joram Admin configuration file.

See Also:
Constant Field Values

JORAM_ADMIN_DEPLOYABLE_FILE

public static final String JORAM_ADMIN_DEPLOYABLE_FILE
JORAM Admin deployable file

See Also:
Constant Field Values

EOL

public static final String EOL
EOL

See Also:
Constant Field Values

MANDATORY_DEPLOYABLE_PACKAGE

public static final String MANDATORY_DEPLOYABLE_PACKAGE
Package of mandatory deployables

See Also:
Constant Field Values
Constructor Detail

Jms

public Jms()
Default constructor.

Method Detail

setHost

public void setHost(String host)
Set the host name for Joram.

Parameters:
host - host name for Joram

setPort

public void setPort(String portNumber)
Set the port number for Joram.

Parameters:
portNumber - the port for Joram

setInitialTopics

public void setInitialTopics(String initialTopics)
Set the initial topics when JOnAS start.

Parameters:
initialTopics - comma separated list of topics

setInitialQueues

public void setInitialQueues(String initialQueues)
Set the initial queues when JOnAS start.

Parameters:
initialQueues - comma separated list of topics

execute

public void execute()
Execute all task

Overrides:
execute in class AbstractJOnASBaseAntTask


Copyright © 2012 OW2 Consortium. All Rights Reserved.