public boolean addDeployedClass(Class<?> cls,String... aliases){
  boolean res=false;
  if (cls != null) {
    Class<?> cur=clss.putIfAbsent(cls.getName(),cls);
    if (cur == null) {
      onDeployed(cls);
      res=true;
    }
    for (    String alias : aliases) {
      if (alias != null)       clss.putIfAbsent(alias,cls);
    }
  }
  return res;
}

public boolean addDeployedClass ( Class < ? > cls , String ... aliases ) { boolean res = false ; if ( cls != null ) { Class < ? > cur = clss . putIfAbsent ( cls . getName ( ) , cls ) ; if ( cur == null ) { onDeployed ( cls ) ; res = true ; } for ( String alias : aliases ) { if ( alias != null ) clss . putIfAbsent ( alias , cls ) ; } } return res ; }
adds deployed class together with aliases .
