org.apache.openejb.config.typed
Class MessageDrivenContainerBuilder

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

public class MessageDrivenContainerBuilder
extends Container


Field Summary
 
Fields inherited from class org.apache.openejb.config.sys.AbstractService
className, constructor, factoryName, id, jar, properties, provider, type
 
Constructor Summary
MessageDrivenContainerBuilder()
           
 
Method Summary
 String getActivationSpecClass()
           
 int getInstanceLimit()
           
 String getMessageListenerInterface()
           
 Properties getProperties()
          Gets the value of the properties property.
 String getResourceAdapter()
           
 MessageDrivenContainerBuilder id(String id)
           
 void setActivationSpecClass(String activationSpecClass)
           
 void setInstanceLimit(int instanceLimit)
           
 void setMessageListenerInterface(String messageListenerInterface)
           
 void setResourceAdapter(String resourceAdapter)
           
 MessageDrivenContainerBuilder withActivationSpecClass(String activationSpecClass)
           
 MessageDrivenContainerBuilder withInstanceLimit(int instanceLimit)
           
 MessageDrivenContainerBuilder withMessageListenerInterface(String messageListenerInterface)
           
 MessageDrivenContainerBuilder withResourceAdapter(String resourceAdapter)
           
 
Methods inherited from class org.apache.openejb.config.sys.Container
getCtype, setCtype
 
Methods inherited from class org.apache.openejb.config.sys.AbstractService
equals, getClassName, getConstructor, getFactoryName, getId, getJar, getProvider, getType, hashCode, 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

MessageDrivenContainerBuilder

public MessageDrivenContainerBuilder()
Method Detail

id

public MessageDrivenContainerBuilder id(String id)

withResourceAdapter

public MessageDrivenContainerBuilder withResourceAdapter(String resourceAdapter)

setResourceAdapter

public void setResourceAdapter(String resourceAdapter)

getResourceAdapter

public String getResourceAdapter()

withMessageListenerInterface

public MessageDrivenContainerBuilder withMessageListenerInterface(String messageListenerInterface)

setMessageListenerInterface

public void setMessageListenerInterface(String messageListenerInterface)

getMessageListenerInterface

public String getMessageListenerInterface()

withActivationSpecClass

public MessageDrivenContainerBuilder withActivationSpecClass(String activationSpecClass)

setActivationSpecClass

public void setActivationSpecClass(String activationSpecClass)

getActivationSpecClass

public String getActivationSpecClass()

withInstanceLimit

public MessageDrivenContainerBuilder withInstanceLimit(int instanceLimit)

setInstanceLimit

public void setInstanceLimit(int instanceLimit)

getInstanceLimit

public int getInstanceLimit()

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.