Questo contenuto non è disponibile nella lingua selezionata.

Chapter 19. service


19.1. service:list

19.1.1. Description

Lists OSGi services.

19.1.2. Syntax

service:list [options] [objectClass]

19.1.3. Arguments

Expand
NameDescription

objectClass

Name of service objectClass to filter for

19.1.4. Options

Expand
NameDescription

-a

Shows all services. (By default Karaf commands are hidden)

--help

Display this help message

-n

Shows only service class names

19.2. service:wait

19.2.1. Description

Wait for a given OSGi service.

19.2.2. Syntax

service:wait [options] service

19.2.3. Arguments

Expand
NameDescription

service

The service class or filter

19.2.4. Options

Expand
NameDescription

-t, --timeout

timeout to wait for the service (in milliseconds, negative to not wait at all, zero to wait forever)

--help

Display this help message

-e, --exception

throw an exception if the service is not found after the timeout

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat