public class ActiveMQArtemisModule
extends com.google.inject.AbstractModule
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ActiveMQArtemisModule.ActiveMQArtemisBuilder |
| 构造器和说明 |
|---|
ActiveMQArtemisModule(String brokerURL) |
ActiveMQArtemisModule(String brokerURL,
String userName,
String password) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configure() |
javax.jms.ConnectionFactory |
connectionFactory(ActiveMQConnectionConfig activeMQConnectionConfig) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprivate String brokerURL
private String userName
private String password
public ActiveMQArtemisModule(String brokerURL)
@Inject(optional=true) @Provides public javax.jms.ConnectionFactory connectionFactory(@Nullable ActiveMQConnectionConfig activeMQConnectionConfig)
protected void configure()
configure 在类中 com.google.inject.AbstractModuleCopyright © 2020. All rights reserved.