org.apache.openejb.config.typed
Class QueueBuilder

java.lang.Object
  extended by org.apache.openejb.config.sys.AbstractService
      extended by org.apache.openejb.config.sys.Resource
          extended by org.apache.openejb.config.typed.QueueBuilder
All Implemented Interfaces:
Service

public class QueueBuilder
extends Resource


Field Summary
 
Fields inherited from class org.apache.openejb.config.sys.Resource
aliases, jndi
 
Fields inherited from class org.apache.openejb.config.sys.AbstractService
className, constructor, factoryName, id, jar, properties, provider, type
 
Constructor Summary
QueueBuilder()
           
 
Method Summary
 String getDestination()
           
 Properties getProperties()
          Gets the value of the properties property.
 QueueBuilder id(String id)
           
 void setDestination(String destination)
           
 QueueBuilder withDestination(String destination)
           
 
Methods inherited from class org.apache.openejb.config.sys.Resource
equals, getAliases, getJndi, hashCode, setJndi
 
Methods inherited from class org.apache.openejb.config.sys.AbstractService
getClassName, getConstructor, getFactoryName, getId, getJar, getProvider, getType, setClassName, setConstructor, setFactoryName, setId, setJar, setProvider, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueBuilder

public QueueBuilder()
Method Detail

id

public QueueBuilder id(String id)

withDestination

public QueueBuilder withDestination(String destination)

setDestination

public void setDestination(String destination)

getDestination

public String getDestination()

getProperties

public Properties getProperties()
Description copied from class: AbstractService
Gets the value of the properties property.

This accessor method returns a reference to the live Properties Object, not a snapshot. Therefore any modification you make to the returned Properties will be present inside the JAXB object. This is why there is not a set method for the properties property.

For example, to add a new value, do as follows:

    getProperties().setProperty(key, value);
 

Specified by:
getProperties in interface Service
Overrides:
getProperties in class AbstractService


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.