Class BinderServiceUtil
java.lang.Object
org.wildfly.extension.messaging.activemq.BinderServiceUtil
Utility class to install BinderService (either to bind actual objects or create alias on another binding).
- Author:
- Jeff Mesnil (c) 2013 Red Hat Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinstallAliasBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, ContextNames.BindInfo bindInfo, String alias) static voidinstallBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, String name, Object obj) Install a binder service to bind theobjusing the bindingname.static voidinstallBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, String name, org.jboss.msc.service.Service<?> service, org.jboss.msc.service.ServiceName dependency) Install a binder service to bind the value of theserviceusing the bindingname.
-
Constructor Details
-
BinderServiceUtil
public BinderServiceUtil()
-
-
Method Details
-
installBinderService
public static void installBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, String name, Object obj) Install a binder service to bind theobjusing the bindingname.- Parameters:
serviceTarget-name- the binding nameobj- the object that must be bound
-
installBinderService
public static void installBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, String name, org.jboss.msc.service.Service<?> service, org.jboss.msc.service.ServiceName dependency) Install a binder service to bind the value of theserviceusing the bindingname.- Parameters:
serviceTarget-name- the binding nameservice- the service whose value must be bound
-
installAliasBinderService
public static void installAliasBinderService(org.jboss.msc.service.ServiceTarget serviceTarget, ContextNames.BindInfo bindInfo, String alias)
-