org.atmosphere.util.gae
Class GAEBroadcasterConfig

java.lang.Object
  extended by org.atmosphere.cpr.BroadcasterConfig
      extended by org.atmosphere.util.gae.GAEBroadcasterConfig

public class GAEBroadcasterConfig
extends BroadcasterConfig

Special BroadcasterConfig that doesn't support ExecutorService

Author:
Jeanfrancois Arcand

Nested Class Summary
 
Nested classes/interfaces inherited from class org.atmosphere.cpr.BroadcasterConfig
BroadcasterConfig.DefaultBroadcasterCache
 
Field Summary
 
Fields inherited from class org.atmosphere.cpr.BroadcasterConfig
filters
 
Constructor Summary
GAEBroadcasterConfig()
           
 
Method Summary
protected  void configExecutors()
           
 void destroy()
           
 ExecutorService getDefaultExecutorService()
          Throw UnsupportedOperationException since GAE doesn't support ExecutorService
 ExecutorService getExecutorService()
          Throw UnsupportedOperationException since GAE doesn't support ExecutorService
 ScheduledExecutorService getScheduledExecutorService()
          Throw UnsupportedOperationException since GAE doesn't support ExecutorService
 GAEBroadcasterConfig setExecutorService(ExecutorService executorService)
          Throw UnsupportedOperationException since GAE doesn't support ExecutorService
 GAEBroadcasterConfig setScheduledExecutorService(ScheduledExecutorService executorService)
          Throw UnsupportedOperationException since GAE doesn't support ExecutorService
 
Methods inherited from class org.atmosphere.cpr.BroadcasterConfig
addFilter, filter, getBroadcasterCache, hasFilters, removeAllFilters, removeFilter, setBroadcasterCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAEBroadcasterConfig

public GAEBroadcasterConfig()
Method Detail

configExecutors

protected void configExecutors()
Overrides:
configExecutors in class BroadcasterConfig

destroy

public void destroy()
Overrides:
destroy in class BroadcasterConfig

setExecutorService

public GAEBroadcasterConfig setExecutorService(ExecutorService executorService)
Throw UnsupportedOperationException since GAE doesn't support ExecutorService

Overrides:
setExecutorService in class BroadcasterConfig
Parameters:
executorService - to be used when broadcasting.

getExecutorService

public ExecutorService getExecutorService()
Throw UnsupportedOperationException since GAE doesn't support ExecutorService

Overrides:
getExecutorService in class BroadcasterConfig
Returns:
An ExecutorService.

getDefaultExecutorService

public ExecutorService getDefaultExecutorService()
Throw UnsupportedOperationException since GAE doesn't support ExecutorService

Overrides:
getDefaultExecutorService in class BroadcasterConfig
Returns:
the defaultExecutorService

setScheduledExecutorService

public GAEBroadcasterConfig setScheduledExecutorService(ScheduledExecutorService executorService)
Throw UnsupportedOperationException since GAE doesn't support ExecutorService

Overrides:
setScheduledExecutorService in class BroadcasterConfig
Parameters:
executorService - to be used when broadcasting.
Returns:
this.

getScheduledExecutorService

public ScheduledExecutorService getScheduledExecutorService()
Throw UnsupportedOperationException since GAE doesn't support ExecutorService

Overrides:
getScheduledExecutorService in class BroadcasterConfig
Returns:
An ExecutorService.


Copyright © 2010. All Rights Reserved.