Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmosphere 2.0.x #1458

Closed
wants to merge 144 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
3e7937f
[maven-release-plugin] prepare release atmosphere-project-2.0.0
jfarcand Sep 19, 2013
e836360
[maven-release-plugin] prepare for next development iteration
jfarcand Sep 19, 2013
b2084c5
[maven-release-plugin] prepare for next development iteration
jfarcand Sep 19, 2013
f1754c7
FUCKING Nexux signature error
jfarcand Sep 19, 2013
bb0bbfd
[maven-release-plugin] prepare release atmosphere-project-2.0.0
jfarcand Sep 19, 2013
cd241e3
Fixes #1309
jfarcand Sep 23, 2013
4305374
Fixes #1309
jfarcand Sep 23, 2013
e380752
Fixes #1307
jfarcand Sep 24, 2013
d2097bc
Fixes #1316
jfarcand Sep 25, 2013
da43c32
Fixes #1312
jfarcand Sep 25, 2013
858acd5
glassFish 4 bark on jsr356, use native instead
jfarcand Sep 25, 2013
9f8481d
use Servlet 3.0 with Grizzly WebSocket
jfarcand Sep 25, 2013
7db6d05
Fixes #1312: Add support for GlassFish 3/WebSocket/Servlet 3.0
jfarcand Sep 25, 2013
d4664bd
Final fixes for #1312
jfarcand Sep 26, 2013
aac2fed
Fixes #1319
jfarcand Sep 26, 2013
45c8f9f
Fixes #1317
jfarcand Sep 26, 2013
bde5bd6
Improve fixes for #1317
jfarcand Sep 26, 2013
4b6b0ec
Fixes Atmosphere/nettosphere#50
jfarcand Sep 26, 2013
dd3c954
[maven-release-plugin] prepare release atmosphere-project-2.0.1
jfarcand Sep 26, 2013
c86e280
[maven-release-plugin] prepare for next development iteration
jfarcand Sep 26, 2013
65f3d54
Close the connection immediately after registering statistics
jfarcand Sep 27, 2013
d4e860f
Add missing headers
jfarcand Sep 30, 2013
faa968e
Fixes #1322
jfarcand Oct 2, 2013
9647961
Fixes 1325
jfarcand Oct 2, 2013
98efbc6
Fixes #1321
jfarcand Oct 2, 2013
247683a
Fixes #1324
jfarcand Oct 2, 2013
dedd5c2
Fixes #1326
jfarcand Oct 3, 2013
9e93884
Fixes #1321
jfarcand Oct 3, 2013
dbab114
Fixes #1327
jfarcand Oct 3, 2013
d9f9d96
More Fixes for #1325
jfarcand Oct 3, 2013
f27c2c6
Prevent null message
jfarcand Oct 3, 2013
d0ce262
Fixes #1327
jfarcand Oct 3, 2013
6299dd7
Embarassing
jfarcand Oct 3, 2013
cab3d8b
Prevent NPE
jfarcand Oct 4, 2013
3c1757b
Fixes #1329
jfarcand Oct 4, 2013
af0083c
Remove logging
jfarcand Oct 4, 2013
76eb973
Improve logging
jfarcand Oct 4, 2013
e90cb3f
Improve logging
jfarcand Oct 4, 2013
c0af270
[maven-release-plugin] prepare release atmosphere-project-2.0.2
jfarcand Oct 4, 2013
d67060a
[maven-release-plugin] prepare for next development iteration
jfarcand Oct 4, 2013
0a21e3b
Fixed #1332
jfarcand Oct 8, 2013
7bf996b
Fixes #1334
jfarcand Oct 8, 2013
6b01e6f
Fixes #1334
jfarcand Oct 8, 2013
3debae8
Cosmetic
jfarcand Oct 8, 2013
f113753
Fixes #1333
jfarcand Oct 8, 2013
ffbbc3a
Fix test
jfarcand Oct 8, 2013
6297989
Prevent CNFE
jfarcand Oct 8, 2013
a347115
Since Jetty 9.1.0 will use native anyway
jfarcand Oct 8, 2013
af97765
Support resume server side
jfarcand Oct 8, 2013
59ca22c
Proper Support resume server side
jfarcand Oct 8, 2013
28fff3a
Fixes regression introduced by #1333
jfarcand Oct 8, 2013
e2dcbf7
Fixes #1333
jfarcand Oct 8, 2013
e61d28e
Fixes #1335
jfarcand Oct 8, 2013
59f0db3
Improve logging message
jfarcand Oct 9, 2013
9e1dc30
Fixes regression from #1335
jfarcand Oct 9, 2013
da65e7f
Fixes #1337
jfarcand Oct 9, 2013
1d96f1b
Fixes #1336
jfarcand Oct 9, 2013
854b149
More logging
jfarcand Oct 9, 2013
b8637d9
Cosmetic
jfarcand Oct 9, 2013
8cb713c
Improve closing process when Atmosphere is embedded
jfarcand Oct 9, 2013
aff7f3e
Rollback #1320 as it cause major performance regression. Add support …
jfarcand Oct 9, 2013
4b01d3b
Use Concurrent instead of synchronized
jfarcand Oct 10, 2013
22b5ad7
Do not call getSession by default
jfarcand Oct 10, 2013
6f83ffe
Reduce one Map lookup
jfarcand Oct 10, 2013
167f962
Improve test
jfarcand Oct 10, 2013
3481ecb
Rollback latest performance improvement, will do it on master
jfarcand Oct 11, 2013
bc54569
increase loggging
jfarcand Oct 11, 2013
a381158
latest client
jfarcand Oct 11, 2013
6675bcd
Add a timeout test
jfarcand Oct 11, 2013
1c64032
Fixes #1342
jfarcand Oct 11, 2013
d7a15f9
[maven-release-plugin] prepare release atmosphere-project-2.0.3
jfarcand Oct 11, 2013
375150d
[maven-release-plugin] rollback the release of atmosphere-project-2.0.3
jfarcand Oct 11, 2013
5c5af2e
Improve fix for #1342
jfarcand Oct 11, 2013
b1f6006
Clear the listeners when destroy is invoked
jfarcand Oct 11, 2013
a19a464
Prevent NPE
jfarcand Oct 11, 2013
0c3cb39
Improve fix for #1342
jfarcand Oct 11, 2013
f741aba
Fix the test
jfarcand Oct 11, 2013
d165251
[maven-release-plugin] prepare release atmosphere-project-2.0.3
jfarcand Oct 11, 2013
fb42413
[maven-release-plugin] prepare for next development iteration
jfarcand Oct 11, 2013
0b6769c
More the getRequest inside the try
jfarcand Oct 15, 2013
c6996db
Fixes #1345
jfarcand Oct 15, 2013
18873b7
Port Fixes for rmuller/infomas-asl#14
jfarcand Nov 4, 2013
4113ec2
Port Fixes for rmuller/infomas-asl#14
jfarcand Nov 4, 2013
11f68e8
Add dummy implementation to prevent NPE when misused
jfarcand Nov 6, 2013
e55dc02
Fixes #1363
jfarcand Nov 6, 2013
fceae1c
Fixes #1360
jfarcand Nov 6, 2013
e512717
Fix for #1367
jfarcand Nov 8, 2013
1bc21f1
Fixe regression caused by Atmosphere/atmosphere-javascript#54
jfarcand Nov 11, 2013
d32c71e
Fixes #1370
jfarcand Nov 11, 2013
c629020
Fixes for #1376
jfarcand Nov 18, 2013
ec946bb
Oups
jfarcand Nov 18, 2013
073fd57
Add debug statement
jfarcand Nov 18, 2013
34e0488
Cosmetic
jfarcand Nov 18, 2013
6e3dd3e
Fixes #1204
jfarcand Nov 19, 2013
fb14a93
Check for null
jfarcand Nov 21, 2013
46609ed
Fixes #1379
jfarcand Nov 21, 2013
855f48e
Better fix
jfarcand Nov 21, 2013
a698fad
Fixes #1378
jfarcand Nov 22, 2013
2a3feae
Port #1344
jfarcand Nov 22, 2013
13b0d5c
Set the framework == null in case the underlying container re-use the…
jfarcand Nov 20, 2013
534d581
Update
jfarcand Nov 22, 2013
6411b27
[maven-release-plugin] prepare release atmosphere-project-2.0.4
jfarcand Nov 22, 2013
948a237
[maven-release-plugin] prepare for next development iteration
jfarcand Nov 22, 2013
f3dd30e
Fixes #1394
jfarcand Dec 6, 2013
a1095cc
Allow configuring which WebSocket versions Jetty 7/8 should accept
slovdahl Dec 9, 2013
dcda57b
Fixes #1402
jfarcand Dec 13, 2013
e8bc474
Fixes #1403 by adding a configuration option that disallows modificat…
slovdahl Dec 17, 2013
6714f1e
Fixes #1404
jfarcand Dec 18, 2013
1fabf86
Fixes #1405
jfarcand Dec 18, 2013
7aa6a93
Prepare for release
jfarcand Dec 18, 2013
4718c41
[maven-release-plugin] prepare release atmosphere-project-2.0.5
jfarcand Dec 18, 2013
b703912
[maven-release-plugin] prepare for next development iteration
jfarcand Dec 18, 2013
95e2139
Fixes #1418
jfarcand Jan 6, 2014
5561547
Fixes #1419
jfarcand Jan 6, 2014
ff6d8cd
Skip session copy is session is not supported
jfarcand Jan 10, 2014
efda785
Fixes #1428
jfarcand Jan 13, 2014
ba451d6
Fixes #1429
jfarcand Jan 13, 2014
a74921b
Improve logging
jfarcand Jan 13, 2014
0a9a734
Stop the heartbeat as soon as we know
jfarcand Jan 13, 2014
23759ae
Fixes #1431
jfarcand Jan 13, 2014
e64cd7c
Fix logging
jfarcand Jan 13, 2014
d40dd71
Cancel the heartbeat if we know we are dead anyway
jfarcand Jan 13, 2014
f9063e6
Merge
jfarcand Jan 14, 2014
3c7137e
Update Copyright
jfarcand Jan 14, 2014
1b3f6cf
[maven-release-plugin] prepare release atmosphere-project-2.0.6
jfarcand Jan 14, 2014
e5b7e0b
[maven-release-plugin] prepare for next development iteration
jfarcand Jan 14, 2014
b8a9cac
Fixes #1434
jfarcand Jan 14, 2014
1545b04
Fixes #1430
jfarcand Jan 15, 2014
a3eec61
Fixes #1448
jfarcand Jan 16, 2014
d994760
Fix this craziness
jfarcand Jan 16, 2014
e88aefa
Fixes #1444
jfarcand Jan 16, 2014
9e17167
Port Fixes #1413
jfarcand Jan 16, 2014
94ccf07
Catch possible Tomcat version change
jfarcand Jan 17, 2014
25f4337
Fixes #1446
jfarcand Jan 17, 2014
67b5d54
Add logging
jfarcand Jan 17, 2014
fb9aafe
Fix regression caused by #1402
jfarcand Jan 17, 2014
4e53de6
Improve fixes for #1446
jfarcand Jan 18, 2014
67d003a
Make sure fairness is respected
jfarcand Jan 20, 2014
2a9dc56
Update
jfarcand Jan 20, 2014
a4fecbd
[maven-release-plugin] prepare release atmosphere-project-2.0.7
jfarcand Jan 20, 2014
daa1027
[maven-release-plugin] prepare for next development iteration
jfarcand Jan 20, 2014
a05edce
Set the scope after closing the stream
jfarcand Jan 23, 2014
d39bb10
Fixes #1453
jfarcand Jan 23, 2014
c018650
Fix merge
jfarcand Jan 27, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions assembly/cpr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime-libs</artifactId>
<name>atmosphere-runtime-libs</name>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
6 changes: 3 additions & 3 deletions assembly/jersey/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-jersey-libs</artifactId>
<name>atmosphere-jersey-libs</name>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-jersey</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-assembly</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<packaging>pom</packaging>
<name>atmosphere-assembly</name>
<url>https://github.com/Atmosphere/atmosphere</url>
Expand Down
4 changes: 2 additions & 2 deletions modules/annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-annotations</artifactId>
<packaging>bundle</packaging>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<name>atmosphere-annotations</name>
<url>https://github.com/Atmosphere/atmosphere</url>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
4 changes: 2 additions & 2 deletions modules/cpr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<packaging>bundle</packaging>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.8-SNAPSHOT</version>
<name>atmosphere-runtime</name>
<url>https://github.com/Atmosphere/atmosphere</url>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down Expand Up @@ -42,6 +42,8 @@ public void handle(AtmosphereFramework framework, Class<?> annotatedClass) {
try {
Class<?> aClass = annotatedClass;
ManagedService a = aClass.getAnnotation(ManagedService.class);
framework.setBroadcasterCacheClassName(a.broadcasterCache().getName());

List<AtmosphereInterceptor> l = new ArrayList<AtmosphereInterceptor>();

atmosphereConfig(a.atmosphereConfig(), framework);
Expand All @@ -56,7 +58,7 @@ public void handle(AtmosphereFramework framework, Class<?> annotatedClass) {
Object c = aClass.newInstance();
AtmosphereHandler handler = new ManagedAtmosphereHandler(c);
// MUST BE ADDED FIRST, ALWAYS!
l.add(new ManagedServiceInterceptor(ManagedAtmosphereHandler.class.cast(handler)));
l.add(new ManagedServiceInterceptor());

Class<?>[] interceptors = a.interceptors();
for (Class i : interceptors) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down Expand Up @@ -46,6 +46,7 @@ public void handle(AtmosphereFramework framework, Class<?> annotatedClass) {

Class<Servlet> s = (Class<Servlet>) annotatedClass;
MeteorService m = s.getAnnotation(MeteorService.class);
framework.setBroadcasterCacheClassName(m.broadcasterCache().getName());

String mapping = m.path();

Expand All @@ -72,7 +73,6 @@ public void handle(AtmosphereFramework framework, Class<?> annotatedClass) {
framework.interceptors().add(new MeteorServiceInterceptor());
}
framework.addAtmosphereHandler(mapping, r, l);
framework.setBroadcasterCacheClassName(m.broadcasterCache().getName());
} catch (Throwable e) {
logger.warn("", e);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down Expand Up @@ -100,7 +100,7 @@ public void stop() {
}

protected CacheMessage put(BroadcastMessage message, Long now) {
if (!inspect(message)) return null;
if (message == null || !inspect(message)) return null;

logger.trace("Caching message {} for Broadcaster {}", message.message);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand All @@ -21,11 +21,10 @@ public class CacheMessage {

private final String id;
private long createTime;
private UUIDBroadcasterCache.ClientQueue queue;

public CacheMessage(String id, Object message) {
this.id = id;
this.message = message;
this.createTime = System.nanoTime();
this(id, System.nanoTime(), message);
}

public CacheMessage(String id, Long now, Object message) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Jeanfrancois Arcand
* Copyright 2014 Jeanfrancois Arcand
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
Expand Down
Loading