org.jboss.ejb.plugins.jms
Interface JMSContainerInvokerMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
JMSContainerInvoker

public interface JMSContainerInvokerMBean
extends org.jboss.system.ServiceMBean

MBean interface.

Version:
$Revision: 57209 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 boolean getCreateJBossMQDestination()
          Get whether JBossMQ destinations should be constructed when the destination is not in JNDI
 boolean getDeliveryActive()
          Get whether delivery is active
 long getKeepAliveMillis()
          Get the keep alive millis
 int getMaxMessages()
          Get the maximum number of messages
 int getMaxPoolSize()
          Get the maximum pool size
 MessageDrivenMetaData getMetaData()
          Get the message driven metadata
 int getMinPoolSize()
          Get the minimum pool size
 void setKeepAliveMillis(long keepAlive)
          Set the keep alive millis
 void setMaxMessages(int maxMessages)
          Set the maximum number of messages
 void setMaxPoolSize(int maxPoolSize)
          Set the maximum pool size
 void setMinPoolSize(int minPoolSize)
          Set the minimum pool size
 void startDelivery()
          Start delivery
 void stopDelivery()
          Stop delivery
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getMinPoolSize

int getMinPoolSize()
Get the minimum pool size

Returns:
the minimum pool size

setMinPoolSize

void setMinPoolSize(int minPoolSize)
Set the minimum pool size

Parameters:
minPoolSize - the size

getMaxPoolSize

int getMaxPoolSize()
Get the maximum pool size

Returns:
the maximum pool size

setMaxPoolSize

void setMaxPoolSize(int maxPoolSize)
Set the maximum pool size

Parameters:
maxPoolSize - the size

getKeepAliveMillis

long getKeepAliveMillis()
Get the keep alive millis

Returns:
the milliseconds

setKeepAliveMillis

void setKeepAliveMillis(long keepAlive)
Set the keep alive millis

Parameters:
keepAlive - the milliseconds

getMaxMessages

int getMaxMessages()
Get the maximum number of messages

Returns:
the number of messages

setMaxMessages

void setMaxMessages(int maxMessages)
Set the maximum number of messages

Parameters:
maxMessages - the number of messages

getMetaData

MessageDrivenMetaData getMetaData()
Get the message driven metadata

Returns:
the metadata

getDeliveryActive

boolean getDeliveryActive()
Get whether delivery is active

Returns:
true when active

getCreateJBossMQDestination

boolean getCreateJBossMQDestination()
Get whether JBossMQ destinations should be constructed when the destination is not in JNDI

Returns:
true to create

startDelivery

void startDelivery()
                   throws Exception
Start delivery

Throws:
Exception - for any error

stopDelivery

void stopDelivery()
                  throws Exception
Stop delivery

Throws:
Exception - for any error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.