Service[] services = new Service[4]; services[0] = new RemoteXPathQueryService( this ); services[1] = new CollectionManagementServiceImpl( this, rpcClient ); services[2] = new UserManagementServiceImpl( this ); services[3] = new DatabaseInstanceManagerImpl( rpcClient ); return services; }
Service[] services = new Service[5]; services[0] = new RemoteXPathQueryService(this); services[1] = new CollectionManagementServiceImpl(this, rpcClient); services[2] = new UserManagementServiceImpl(this); services[3] = new DatabaseInstanceManagerImpl(rpcClient); services[4] = new RemoteIndexQueryService(rpcClient, this); return services; }
    public Service[] getServices() throws XMLDBException {        Service[] services = new Service[4];        services[0] = new RemoteXPathQueryService( this );        services[1] = new CollectionManagementServiceImpl( this, rpcClient );        services[2] = new UserManagementServiceImpl( this );        services[3] = new DatabaseInstanceManagerImpl( rpcClient );        return services;    }