Class JeroMQContextModule
java.lang.Object
com.google.inject.PrivateModule
dev.getelements.elements.rt.remote.jeromq.guice.JeroMQContextModule
- All Implemented Interfaces:
com.google.inject.Module
public class JeroMQContextModule
extends com.google.inject.PrivateModule
Combines
JeroMQRemoteInvokerModule
with the ClusterContextModule
to make a complete client
module with adjustable parameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
withApplicationUniqueName
(String applicationUniqueName) Given a unique string identifier for the application, this will genrate a unique identifier for the application's unique name usingApplicationId.forUniqueName(String)
.withZContext
(org.zeromq.ZContext zContext) Allows for the specification of a specificZContext
instanceMethods inherited from class com.google.inject.PrivateModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, expose, expose, expose, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
JeroMQContextModule
public JeroMQContextModule()
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classcom.google.inject.PrivateModule
-
withZContext
Allows for the specification of a specificZContext
instance- Parameters:
zContext
- theZContext
instance.- Returns:
- this instance
-
withApplicationUniqueName
Given a unique string identifier for the application, this will genrate a unique identifier for the application's unique name usingApplicationId.forUniqueName(String)
.- Parameters:
applicationUniqueName
- the unique-string representing the application ID- Returns:
- this instance
-