Package org.drasyl.pipeline
Annotation Type Stateless
-
@Target(TYPE) @Retention(CLASS) public @interface Stateless
Indicates that the annotated handler class is stateless and can safely be shared among multiple instances. This means especially that the annotated handler does not manipulate any variable in theHandler.handlerAdded(HandlerContext)
orHandler.handlerRemoved(HandlerContext)
methods.