(1) Package dependency: A bundle exports its packages so that
other bundles can import the packages
and then access the classes, interfaces,
and resources in the packages.
(2) Service dependency: A bundle registers its objects to
the service registry provided by the OSGi
container as OSGi services, so that other bundles
can consume the services.
댓글 없음:
댓글 쓰기