public JsTopicMessageController loadFromCache ( String topic ) { if ( null == topic ) { return null ; } if ( messageControllers . containsKey ( topic ) ) { Instance < ? extends JsTopicMessageController > instances = getInstances ( messageControllers . get ( topic ) ) ; if ( ! instances . isUnsatisfied ( ) ) { return instances . get ( ) ; } } return null ; }
Get CDI instance messageController from cache