iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/service/CorbaServiceUtil.java
public static void bindObject(final ServiceTarget target, final String contextName, final Object value) {
        final BinderService binderService = new BinderService(contextName);
        binderService.getManagedObjectInjector().inject(new ValueManagedReferenceFactory(Values.immediateValue(value)));
        target.addService(ContextNames.buildServiceName(ContextNames.JBOSS_CONTEXT_SERVICE_NAME, contextName), binderService)
                .addDependency(ContextNames.JBOSS_CONTEXT_SERVICE_NAME, ServiceBasedNamingStore.class, binderService.getNamingStoreInjector())
                .install();
    }
public static void bindObject(final ServiceTarget target, final String contextName, final Object value) {
        final BinderService binderService = new BinderService(contextName);
        binderService.getManagedObjectInjector().inject(new ValueManagedReferenceFactory(Values.immediateValue(value)));
        target.addService(ContextNames.buildServiceName(ContextNames.JBOSS_CONTEXT_SERVICE_NAME, contextName), binderService)
                .addDependency(ContextNames.JBOSS_CONTEXT_SERVICE_NAME, ServiceBasedNamingStore.class, binderService.getNamingStoreInjector())
                .install();
    }
<p>
Adds a {@code BinderService} to the specified target. The service binds the specified value to JNDI under the
{@code java:/jboss/contextName} context.
</p>

@param target      the {@code ServiceTarget} where the service will be added.
@param contextName the JNDI context name where the value will be bound.
@param value       the value to be bound.