Search in sources :

Example 1 with IService

use of org.eclipse.scout.rt.platform.service.IService in project scout.rt by eclipse.

the class ServicesView method activated.

@Override
public void activated() {
    // read all services
    m_serviceInspectors = null;
    try {
        ArrayList<ServiceInspector> list = new ArrayList<ServiceInspector>();
        for (IService service : BEANS.all(IService.class)) {
            list.add(new ServiceInspector(service));
        }
        m_serviceInspectors = list.toArray(new ServiceInspector[list.size()]);
    } catch (Exception e) {
    // NOSONAR
    // nop
    }
}
Also used : ServiceInspector(org.eclipse.scout.rt.server.admin.inspector.ServiceInspector) ArrayList(java.util.ArrayList) IService(org.eclipse.scout.rt.platform.service.IService)

Aggregations

ArrayList (java.util.ArrayList)1 IService (org.eclipse.scout.rt.platform.service.IService)1 ServiceInspector (org.eclipse.scout.rt.server.admin.inspector.ServiceInspector)1