All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.routing.SpincastRouterDeps.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






SpincastRouterDeps (org.spincast:spincast-framework 1.2.0 API)












org.spincast.plugins.routing

Class SpincastRouterDeps<R extends RequestContext<?>,W extends WebsocketContext<?>>



  • public class SpincastRouterDeps<R extends RequestContext<?>,W extends WebsocketContext<?>>
    extends Object
    A wrapper object for the dependencies required by SpincastRouter. We inject this wrapper instead of injecting each individual dependency. We do this because the SpincastRouter is made to be extended frequently by developers and :
    • We want it to be easily extended without having to inject too many dependencies in the child class.
    • We want to keep using constructor injection instead of setter and field injection.
    • By using a wrapper, we can add new dependencies to SpincastRouter without breaking the client classes.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy