public void addDynamicService ( String serviceInterface , String className ) { if ( dynamicServices . containsKey ( serviceInterface ) ) { dynamicServices . get ( serviceInterface ) . add ( className ) ; } else { Set < String > classNamesSet = new HashSet < String > ( ) ; classNamesSet . add ( className ) ; dynamicServices . put ( serviceInterface , classNamesSet ) ; } }
Add Dynamic Java Registered Service class names for each service