TeacherAdministrationSiteComponentBuilder componentBuilder = TeacherAdministrationSiteComponentBuilder .getInstance(); commonComponent = componentBuilder.getComponent(commonComponent, site, null, null, null); bodyComponent = componentBuilder.getComponent(bodyComponent, site, commonComponent, obj1, obj2);
final TeacherAdministrationSiteComponentBuilder componentBuilder = TeacherAdministrationSiteComponentBuilder .getInstance(); commonComponent = componentBuilder.getComponent(commonComponent, site, null, null, null); bodyComponent = componentBuilder.getComponent(bodyComponent, site, commonComponent, obj1, obj2);
    public Object run(Integer infoExecutionCourseCode, ISiteComponent commonComponent,            ISiteComponent bodyComponent, Integer infoSiteCode, Object obj1, Object obj2)            throws FenixServiceException {        TeacherAdministrationSiteView siteView = null;        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            IPersistentExecutionCourse persistentExecutionCourse = sp.getIPersistentExecutionCourse();            IPersistentSite persistentSite = sp.getIPersistentSite();            ISite site = null;            IExecutionCourse executionCourse = (IExecutionCourse) persistentExecutionCourse.readByOID(                    ExecutionCourse.class, infoExecutionCourseCode);            site = persistentSite.readByExecutionCourse(executionCourse);            TeacherAdministrationSiteComponentBuilder componentBuilder = TeacherAdministrationSiteComponentBuilder                    .getInstance();            commonComponent = componentBuilder.getComponent(commonComponent, site, null, null, null);            bodyComponent = componentBuilder.getComponent(bodyComponent, site, commonComponent, obj1,                    obj2);            siteView = new TeacherAdministrationSiteView(commonComponent, bodyComponent);        } catch (ExcepcaoPersistencia e) {            throw new FenixServiceException(e);        }        return siteView;    }