public ServiceGroup createServiceGroup ( Set < ResourceClass > resourceClasses , ServiceGroup . ServiceGroupBuilder serviceGroupBuilder ) { for ( ResourceClass resourceClass : resourceClasses ) { Logger . info ( "{0} processing started" , resourceClass . getClazz ( ) . getCanonicalName ( ) ) ; Service service = createResource ( resourceClass ) ; serviceGroupBuilder . service ( service ) ; Logger . info ( "{0} processing finished" , resourceClass . getClazz ( ) . getCanonicalName ( ) ) ; } return serviceGroupBuilder . build ( ) ; }
Main method creates API model from metadata