Uses of Class
xal.extension.service.ServiceRef
Packages that use ServiceRef
-
Uses of ServiceRef in xal.extension.service
Methods in xal.extension.service that return ServiceRefModifier and TypeMethodDescriptionServiceDirectory.findServicesWithType
(Class<?> protocol, long timeout) Convenience method for making a request to find service providers of a specific service type and waiting a specified amount of time to find those services.ServiceDirectory.findServicesWithType
(String serviceType, long timeout) Convenience method for making a request to find service providers of a specific service type and waiting a specified amount of time to find those services.ServiceDirectory.lookupService
(String type, String name) Lookup the service given the fully qualified service type and the fully qualified service nameServiceDirectory.lookupService
(String type, String name, int timeout) Lookup the service given the fully qualified service type and the fully qualified service name and block until a match is found or the specified timeout has expired.<T> ServiceRef
ServiceDirectory.registerService
(Class<T> protocol, String name, T provider) Register a local service provider.<T> ServiceRef
ServiceDirectory.registerService
(Class<T> protocol, String serviceName, T provider, Map<String, Object> properties) Register a local service provider.Methods in xal.extension.service with parameters of type ServiceRefModifier and TypeMethodDescription<T> T
ServiceDirectory.getProxy
(Class<T> protocol, ServiceRef serviceRef) Get a proxy to the service with the given service reference and protocol.void
ServiceListener.serviceAdded
(ServiceDirectory directory, ServiceRef serviceRef) This method is called when a new service has been added.boolean
ServiceDirectory.unregisterService
(ServiceRef serviceRef) Unregister a local service.