com.sun.enterprise.config.serverbeans
Interface EjbTimerService

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface EjbTimerService
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

Configuration for ejb timer service


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getMaxRedeliveries()
          Gets the value of the maxRedeliveries property.
 java.lang.String getMinimumDeliveryIntervalInMillis()
          Gets the value of the minimumDeliveryIntervalInMillis property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 java.lang.String getRedeliveryIntervalInternalInMillis()
          Gets the value of the redeliveryIntervalInternalInMillis property.
 java.lang.String getTimerDatasource()
          Gets the value of the timerDatasource property.
 void setMaxRedeliveries(java.lang.String value)
          Sets the value of the maxRedeliveries property.
 void setMinimumDeliveryIntervalInMillis(java.lang.String value)
          Sets the value of the minimumDeliveryIntervalInMillis property.
 void setRedeliveryIntervalInternalInMillis(java.lang.String value)
          Sets the value of the redeliveryIntervalInternalInMillis property.
 void setTimerDatasource(java.lang.String value)
          Sets the value of the timerDatasource property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getMinimumDeliveryIntervalInMillis

@Min(value=1L)
java.lang.String getMinimumDeliveryIntervalInMillis()
Gets the value of the minimumDeliveryIntervalInMillis property. It is the minimum number of milliseconds allowed before the next timer expiration for a particular timer can occur. It guards against extremely small timer increments that can overload the server.

Returns:
possible object is String

setMinimumDeliveryIntervalInMillis

void setMinimumDeliveryIntervalInMillis(java.lang.String value)
                                        throws java.beans.PropertyVetoException
Sets the value of the minimumDeliveryIntervalInMillis property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getMaxRedeliveries

@Min(value=1L)
java.lang.String getMaxRedeliveries()
Gets the value of the maxRedeliveries property. It is the maximum number of times the ejb timer service will attempt to redeliver a timer expiration due to exception or rollback. The minimum value is 1, per the ejb specification.

Returns:
possible object is String

setMaxRedeliveries

void setMaxRedeliveries(java.lang.String value)
                        throws java.beans.PropertyVetoException
Sets the value of the maxRedeliveries property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getTimerDatasource

java.lang.String getTimerDatasource()
Gets the value of the timerDatasource property. overrides cmp-resource (jdbc/__TimerPool) specified in sun-ejb-jar.xml of (__ejb_container_timer_app) of the timer service system application. By default this is set to jdbc/__TimerPool, but can be overridden for the cluster or server instance, if they choose to.

Returns:
possible object is String

setTimerDatasource

void setTimerDatasource(java.lang.String value)
                        throws java.beans.PropertyVetoException
Sets the value of the timerDatasource property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getRedeliveryIntervalInternalInMillis

@Min(value=1L)
java.lang.String getRedeliveryIntervalInternalInMillis()
Gets the value of the redeliveryIntervalInternalInMillis property. It is the number of milliseconds the ejb timer service will wait after a failed ejbTimeout delivery before attempting a redelivery.

Returns:
possible object is String

setRedeliveryIntervalInternalInMillis

void setRedeliveryIntervalInternalInMillis(java.lang.String value)
                                           throws java.beans.PropertyVetoException
Sets the value of the redeliveryIntervalInternalInMillis property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.