docs: protected void createRealizationAndState(
                                               MessageProcessor messageProcessor,
                                               TransactionCommon transaction)
                      throws SIResourceException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(
                          tc,
                          "createRealizationAndState",
                          new Object[] {
                                        messageProcessor,
                                        transaction });
  
          /*
           * Create associated protocol suppor of appropriate type
           */
          if (isPubSub())
          {
              _pubSubRealization = new PubSubRealization(this,
                              messageProcessor,
                              getLocalisationManager(),
                              transaction);
              _protoRealization = _pubSubRealization;
          }
          else
          {
  
              _ptoPRealization = new JSPtoPRealization(this,
                              messageProcessor,
                              getLocalisationManager());
              _protoRealization = _ptoPRealization;
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "createRealizationAndState");
      }