|
22 | 22 | import java.util.Map;
|
23 | 23 | import java.util.Set;
|
24 | 24 |
|
25 |
| -import org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration; |
26 | 25 | import org.springframework.util.CollectionUtils;
|
27 | 26 |
|
28 | 27 | /**
|
|
31 | 30 | * Due to the more limited information available, methods such as
|
32 | 31 | * {@link #getUsers()} and {@link #findSubscriptions} are not supported.
|
33 | 32 | *
|
34 |
| - * <p>As of 4.2 this adapter is used only in applications that explicitly |
| 33 | + * <p>As of 4.2, this adapter is used only in applications that explicitly |
35 | 34 | * register a custom {@code UserSessionRegistry} bean by overriding
|
36 |
| - * {@link AbstractMessageBrokerConfiguration#userSessionRegistry()}. |
| 35 | + * {@link org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration#userSessionRegistry()}. |
37 | 36 | *
|
38 | 37 | * @author Rossen Stoyanchev
|
39 | 38 | * @since 4.2
|
@@ -67,8 +66,8 @@ public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher)
|
67 | 66 |
|
68 | 67 |
|
69 | 68 | /**
|
70 |
| - * Expose the only information available from a UserSessionRegistry (name |
71 |
| - * and session id's) as a {@code SimpUser}. |
| 69 | + * Expose the only information available from a UserSessionRegistry |
| 70 | + * (name and session id's) as a {@code SimpUser}. |
72 | 71 | */
|
73 | 72 | private static class SimpUserAdapter implements SimpUser {
|
74 | 73 |
|
@@ -105,9 +104,10 @@ public Set<SimpSession> getSessions() {
|
105 | 104 | }
|
106 | 105 | }
|
107 | 106 |
|
| 107 | + |
108 | 108 | /**
|
109 |
| - * Expose the only information available from a UserSessionRegistry (session |
110 |
| - * id's but no subscriptions) as a {@code SimpSession}. |
| 109 | + * Expose the only information available from a UserSessionRegistry |
| 110 | + * (session ids but no subscriptions) as a {@code SimpSession}. |
111 | 111 | */
|
112 | 112 | private static class SimpSessionAdapter implements SimpSession {
|
113 | 113 |
|
|
0 commit comments