This method obtains the topc itself for a caller

@return the Topic Destination to send messages to
189537
public Topic getTopic(String topicName) throws ServiceLocatorException {
		Topic topic = null;
		try {
			topic = (Topic) ic.lookup(topicName);
		} catch (NamingException ne) {
			throw new ServiceLocatorException(ne);
		} catch (Exception e) {
			throw new ServiceLocatorException(e);
		}
		return topic;
	}
600239
JsTopicMessageController getJsTopicMessageControllerFromJsTopicControls(String topic) {
		logger.debug("Looking for messageController for topic '{}' from JsTopicControls annotation", topic);
		Instance<JsTopicMessageController<?>> select = topicMessageController.select(new JsTopicCtrlsAnnotationLiteral());
		if(select.isUnsatisfied()) {
			return null;
		}
		return getJsTopicMessageControllerFromIterable(topic, select);
	}
765865
@SuppressWarnings("unchecked")
    public Set<String> getTopics() {
        Map<String, List<PartitionInfo>> topicInfo = getTopicInfo();
        Set<String> topics = topicInfo != null ? topicInfo.keySet() : null;
        return topics != null ? Collections.unmodifiableSet(topics) : Collections.EMPTY_SET;
    }
696277
@Override
    public GroupDiscussInterface getDiscussionInterface() {
        if (discussionInterface == null) {
            discussionInterface = new GroupDiscussInterface(apiKey, sharedSecret, transport);
        }
        return discussionInterface;
    }
517799
public String[] getTopics()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getTopics");
      
    String[] topics = null;
    if (_subscriptionState != null)      
      topics = _subscriptionState.getTopics();
      
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())  
      SibTr.exit(tc, "getTopics", topics);
    return topics;
  }
369922
public JsTopicMessageController getJsTopicMessageController(String topic) {
		logger.debug("Looking for messageController for topic '{}'", topic);
		JsTopicMessageController messageController = messageControllerCache.loadFromCache(topic);
		if(null == messageController) { // not in cache
			messageController = getJsTopicMessageControllerFromJsTopicControl(topic); // get from JsTopicControl
			if(null == messageController) {
				messageController = getJsTopicMessageControllerFromJsTopicControls(topic); // get from JsTopicControls
				if(null == messageController) {
					messageController = new DefaultJsTopicMessageController();
				}
			}
			messageControllerCache.saveToCache(topic, messageController.getClass()); // save in cache
		}
		return messageController;
	}
214648
public int getTcpcork() {
    if (isReference()) {
      final DistributerDef refDistributer = (DistributerDef) getCheckedRef(DistributerDef.class, "DistributerDef");
      return refDistributer.getTcpcork();
    }
    return this.tcpCork;
  }
366880
public String[] getTopics()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getTopics");

    String[] topics = consumerDispatcherState.getTopics();
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())             
      SibTr.exit(tc, "getTopics", topics);
    return topics;
  }
1228959
public String getTopicIds() {
    if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_topicIds == null)
      jcasType.jcas.throwFeatMissing("topicIds", "de.julielab.jules.types.Token");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_topicIds);}
626951
public SIMPIterator getTopicNameIterator()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getTopicNameIterator");
    //if the stream is flushed then we have not subscribed
    //to any topics, so we return an empty list
    List topicList = null;
    if(_anycastInputHandler.getAIStream()!=null)
    {
      String[] topics =
            _anycastInputHandler.getRCD().getConsumerDispatcherState().getTopics();
       topicList = Arrays.asList(topics);
    }
    else
    {
      //we are flushed, so we are not currently subscribing for any
      //topics
      topicList = new LinkedList(); //create an empty collection
    }
    
    BasicSIMPIterator iterator = new BasicSIMPIterator(topicList.iterator());
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getTopicNameIterator", iterator);
    return iterator;                                   
  }
254858
public JMFMessage copy() {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "copy");
    JMFMessage copy;

    synchronized (getMessageLockArtefact()) {
      if (map == null) {
        // If there is no map, then this is already become just a delegator, so
        // the copy does not need to include the compatibility wrapper.
        copy = ((JMFMessage)encoding).copy();
      }
      else {
        // In the usual case, we maintain a compatibility layer
        copy = new JSCompatibleMessageImpl(this);
      }
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.exit(this, tc, "copy", copy);
    return copy;
  }
374275
public String[] getTopics()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(this, tc, "getTopics");
            SibTr.exit(this, tc, "getTopics", topics);
        }
        return topics;
    }
753283
public StopStrategy getStopStrategy() {
        return this.stopStrategy = (null == this.stopStrategy ? new StopStrategy() {
            //A stop strategy which never stops retrying
            @Override public boolean shouldStop(int previousAttemptNumber, long delaySinceFirstAttemptInMillis) {
                return false;
            }
        } : this.stopStrategy);
    }
1313682
public List<ITopicNode> getAllTopicNodes() {
        final ArrayList<ITopicNode> topicNodes = new ArrayList<ITopicNode>();
        for (final Entry<Integer, List<ITopicNode>> topicEntry : topics.entrySet()) {
            topicNodes.addAll(topicEntry.getValue());
        }

        return topicNodes;
    }
488361
public TopicConnectionFactory getTopicConnectionFactory(String topicConnFactoryName) throws ServiceLocatorException {
		TopicConnectionFactory factory = null;
		try {
			factory = (TopicConnectionFactory) ic.lookup(topicConnFactoryName);
		} catch (NamingException ne) {
			throw new ServiceLocatorException(ne);
		} catch (Exception e) {
			throw new ServiceLocatorException(e);
		}
		return factory;
	}
662113
public Destination getReplyTo() {
        Object replyTo = getHeader(JmsMessageHeaders.REPLY_TO);

        if (replyTo != null) {
            return (Destination) replyTo;
        }

        return null;
    }
1074215
public String getState()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getState");
    String state = 
      messageProcessor.getDestinationManager().getDestinationIndex().getState(foreignDest).toString();
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getState");
    return state;
  }