/* (non-Javadoc)
@see com.ibm.ws.sib.processor.runtime.SIMPForeignDestinationControllable#getTargetForeignBus()
428568
public SIMPForeignBusControllable getTargetForeignBus()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getTargetForeignBus");
    
    //Lookup foreign bus
    BusHandler foreignBus = null;
    try
    {
      foreignBus =
        messageProcessor.getDestinationManager().findBus(foreignDest.getBus());
    }
    catch (SIException e)
    {
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.runtime.getTargetForeignBus",
        "1:114:1.19",
        this);
      
      SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0002",
        new Object[] { "com.ibm.ws.sib.processor.runtime.getTargetForeignBus", 
                       "1:119:1.19", 
                       SIMPUtils.getStackTrace(e) }); 
      SibTr.exception(tc, e);      
    }   
      
    SIMPForeignBusControllable busControllable = null;
    
    if (foreignBus != null)
      busControllable = (SIMPForeignBusControllable) foreignBus.getControlAdapter();
           
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getTargetForeignBus");
      
    return busControllable;
  }
875488
public static Specification<JpaTargetTag> ofTarget(final String controllerId) {
        return (targetRoot, query, criteriaBuilder) -> {
            final Join<JpaTargetTag, JpaTarget> tagJoin = targetRoot.join(JpaTargetTag_.assignedToTargets);

            query.distinct(true);

            return criteriaBuilder.equal(tagJoin.get(JpaTarget_.controllerId), controllerId);
        };

    }
410220
@Override
    public String getTargetTransportChain() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getTargetTransportChain");
        String targetTransportChain = jcaConnectionFactory.getTargetTransportChain();
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getTargetTransportChain", targetTransportChain);
        return targetTransportChain;
    }
1111701
public com.google.api.ads.admanager.axis.v201811.DeviceManufacturerTargeting getDeviceManufacturerTargeting() {
        return deviceManufacturerTargeting;
    }
161922
@Nullable
    public final Controller getTargetController() {
        if (targetInstanceId != null) {
            return router.getRootRouter().getControllerWithInstanceId(targetInstanceId);
        }
        return null;
    }
1074152
public final SIBUuid8 getOriginator () {
    byte[] a = (byte[])getPayload().getField(TrmAccess.BODY_ROUTEDATA_ORIGINATOR);

    if (a != null) {
      return new SIBUuid8(a);
    }
    else {
      return null;
    }
  }
422712
@Override
    public String getBusName() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getBusName");
        String busName = jcaConnectionFactory.getBusName();
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getBusName", busName);
        return busName;
    }
1363719
@Override
    protected InjectionTarget<T> getInjectionTarget(boolean nonContextual) {

        InjectionTarget<T> injectionTarget = null;

        Class<T> clazz = getManagedObjectClass();

        WebSphereBeanDeploymentArchive bda = getCurrentBeanDeploymentArchive();
        if (bda != null) {
            injectionTarget = bda.getJEEComponentInjectionTarget(clazz);
        }

        if (injectionTarget == null) {
            AnnotatedType<T> annotatedType = getAnnotatedType(clazz, nonContextual);
            WeldInjectionTargetFactory<T> weldInjectionTargetFactory = getBeanManager().getInjectionTargetFactory(annotatedType);
            injectionTarget = weldInjectionTargetFactory.createInterceptorInjectionTarget();

            if (bda != null) {
                bda.addJEEComponentInjectionTarget(clazz, injectionTarget);
            }
        }

        return injectionTarget;
    }
984593
public final SIBUuid8 getGuaranteedTargetMessagingEngineUUID() {
        byte[] b = (byte[]) getHdr2().getField(JsHdr2Access.GUARANTEED_SET_TARGETMEUUID);
        if (b != null)
            return new SIBUuid8(b);
        return null;
    }
72387
public java.lang.String getTarget() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.target);

    }
508218
public static Bus getClassLoaderDefaultBus(final ClassLoader classloader) {
      Bus classLoaderBus;
      synchronized (classLoaderBusses) {
         classLoaderBus = classLoaderBusses.get(classloader);
         if (classLoaderBus == null) {
            classLoaderBus = new JBossWSBusFactory().createBus();
            //register a listener for cleaning up the bus from the classloader association in the JBossWSBusFactory
            BusLifeCycleListener listener = new ClassLoaderDefaultBusLifeCycleListener(classLoaderBus);
            classLoaderBus.getExtension(BusLifeCycleManager.class).registerLifeCycleListener(listener);
            classLoaderBusses.put(classloader, classLoaderBus);
         }
      }
      return classLoaderBus;
   }
788875
public com.google.api.ads.admanager.axis.v201811.MobileCarrierTargeting getMobileCarrierTargeting() {
        return mobileCarrierTargeting;
    }
856485
public static Bus getClassLoaderDefaultBus(final ClassLoader classloader, final ClientBusSelector clientBusSelector) {
      Bus classLoaderBus;
      synchronized (classLoaderBusses) {
         classLoaderBus = classLoaderBusses.get(classloader);
         if (classLoaderBus == null) {
            classLoaderBus = clientBusSelector.createNewBus();
            //register a listener for cleaning up the bus from the classloader association in the JBossWSBusFactory
            BusLifeCycleListener listener = new ClassLoaderDefaultBusLifeCycleListener(classLoaderBus);
            classLoaderBus.getExtension(BusLifeCycleManager.class).registerLifeCycleListener(listener);
            classLoaderBusses.put(classloader, classLoaderBus);
         }
      }
      return classLoaderBus;
   }
53568
public final SIBUuid8 getGuaranteedTargetMessagingEngineUUID() {
    byte[] b = (byte[])jmo.getField(ControlAccess.TARGETMEUUID);
    if (b != null)
      return new SIBUuid8(b);
    return null;
  }
804616
public String getTargetAddress()
    {
        String value=null;
        try
        {
            value=this.JOB.getDialstring();
        }
        catch(Exception exception)
        {
            throw new FaxException("Error while extracting job target address.",exception);
        }

        return value;
    }
317941
public String getOriginatingBus()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(this, tc, "getOriginatingBus");
            SibTr.exit(this, tc, "getOriginatingBus", _busName);
        }
        return _busName;
    }
963498
public static EventBus get() {
		if (EventBus.instance == null) {
			EventBus.instance = new EventBus();
		}
		return EventBus.instance;
	}