[#1650] Make it possible to override isSharable() to simplify things for clojure users
This commit is contained in:
parent
2b3ac3d446
commit
fabefba791
@ -28,7 +28,7 @@ public abstract class ChannelHandlerAdapter implements ChannelHandler {
|
||||
* Return {@code true} if the implementation is {@link Sharable} and so can be added
|
||||
* to different {@link ChannelPipeline}s.
|
||||
*/
|
||||
final boolean isSharable() {
|
||||
public boolean isSharable() {
|
||||
return getClass().isAnnotationPresent(Sharable.class);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user