이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 20. service
20.1. service:list 링크 복사링크가 클립보드에 복사되었습니다!
20.1.1. Description 링크 복사링크가 클립보드에 복사되었습니다!
Lists OSGi services.
20.1.2. Syntax 링크 복사링크가 클립보드에 복사되었습니다!
service:list [options] [objectClass]
20.1.3. Arguments 링크 복사링크가 클립보드에 복사되었습니다!
Name | Description |
---|---|
objectClass | Name of service objectClass to filter for |
20.1.4. Options 링크 복사링크가 클립보드에 복사되었습니다!
Name | Description |
---|---|
-a | Shows all services. (By default Karaf commands are hidden) |
--help | Display this help message |
-n | Shows only service class names |
20.2. service:wait 링크 복사링크가 클립보드에 복사되었습니다!
20.2.1. Description 링크 복사링크가 클립보드에 복사되었습니다!
Wait for a given OSGi service.
20.2.2. Syntax 링크 복사링크가 클립보드에 복사되었습니다!
service:wait [options] service
20.2.3. Arguments 링크 복사링크가 클립보드에 복사되었습니다!
Name | Description |
---|---|
service | The service class or filter |
20.2.4. Options 링크 복사링크가 클립보드에 복사되었습니다!
Name | Description |
---|---|
-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 |