Class AbstractTopologyManager
java.lang.Object
org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager
- Direct Known Subclasses:
TopologyManagerImpl
Abstract superclass for topology managers. This abstract superclass provides
basic functionality for topology managers to reuse. New topology managers can
extend this class to get or customize desired functionality. Alternatively,
they can use this class as a guide to implementing desired topology manager
behavior. For description of the role of topology managers see the
OSGI 4.2
Remote Service Admin specification (chap 122).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
advertiseEndpointDescription
(EndpointDescription endpointDescription) protected void
advertiseModifyEndpointDescription
(EndpointDescription endpointDescription) void
close()
protected Filter
protected Filter
protected BundleContext
protected String
protected RemoteServiceAdmin
protected void
handleAdvertisingResult
(org.eclipse.core.runtime.IStatus result, EndpointDescription endpointDescription, boolean advertise) protected void
handleECFEndpointAdded
(EndpointDescription endpointDescription) protected void
handleECFEndpointModified
(EndpointDescription endpoint) protected void
handleECFEndpointRemoved
(EndpointDescription endpointDescription) protected void
handleEvent
(ServiceEvent event, Map listeners) protected void
handleInvalidImportRegistration
(ImportRegistration importRegistration, Throwable t) protected void
handleNonECFEndpointAdded
(EndpointListener listener, EndpointDescription endpointDescription) protected void
handleNonECFEndpointModified
(EndpointEventListener basicTopologyManagerImpl, EndpointDescription endpointDescription) protected void
handleNonECFEndpointRemoved
(EndpointDescription endpointDescription, String matchedFilter) protected void
handleNonECFEndpointRemoved
(EndpointListener listener, EndpointDescription endpointDescription) protected void
handleServiceModifying
(ServiceReference serviceReference) protected void
handleServiceRegistering
(ServiceReference serviceReference) protected void
handleServiceUnregistering
(ServiceReference serviceReference) protected boolean
protected void
protected void
protected void
protected void
logWarning
(String methodName, String message) protected void
protected void
unadvertiseEndpointDescription
(EndpointDescription endpointDescription)
-
Field Details
-
SERVICE_EXPORTED_INTERFACES_WILDCARD
- See Also:
-
-
Constructor Details
-
AbstractTopologyManager
-
-
Method Details
-
getContext
-
getFrameworkUUID
-
close
public void close() -
logWarning
-
createRSAFilter
-
createISIFFilter
- Parameters:
ctx
- the bundle context- Returns:
- Filter the created filter
- Since:
- 4.0
-
getRemoteServiceAdmin
-
hasDescription
- Since:
- 4.9
-
advertiseModifyEndpointDescription
- Parameters:
endpointDescription
- endpoint description- Since:
- 4.1
-
advertiseEndpointDescription
- Parameters:
endpointDescription
- endpoint description- Since:
- 3.0
-
unadvertiseEndpointDescription
- Parameters:
endpointDescription
- endpoint description- Since:
- 3.0
-
logError
-
logError
-
trace
-
logError
-
handleECFEndpointAdded
- Parameters:
endpointDescription
- endpoint description- Since:
- 3.0
-
handleECFEndpointRemoved
- Parameters:
endpointDescription
- endpoint description- Since:
- 3.0
-
handleECFEndpointModified
- Parameters:
endpoint
- endpoint description- Since:
- 4.1
-
handleNonECFEndpointAdded
protected void handleNonECFEndpointAdded(EndpointListener listener, EndpointDescription endpointDescription) - Parameters:
listener
- listenerendpointDescription
- endpoint description- Since:
- 4.9
-
handleNonECFEndpointRemoved
protected void handleNonECFEndpointRemoved(EndpointListener listener, EndpointDescription endpointDescription) - Parameters:
listener
- listenerendpointDescription
- endpoint description- Since:
- 4.9
-
handleNonECFEndpointModified
protected void handleNonECFEndpointModified(EndpointEventListener basicTopologyManagerImpl, EndpointDescription endpointDescription) - Parameters:
basicTopologyManagerImpl
- basic topology managerendpointDescription
- endpointDescription- Since:
- 4.9
-
handleNonECFEndpointRemoved
protected void handleNonECFEndpointRemoved(EndpointDescription endpointDescription, String matchedFilter) - Parameters:
endpointDescription
- endpoint descriptionmatchedFilter
- matched filter- Since:
- 3.0
-
handleAdvertisingResult
protected void handleAdvertisingResult(org.eclipse.core.runtime.IStatus result, EndpointDescription endpointDescription, boolean advertise) - Parameters:
result
- resultendpointDescription
- endpoint descriptionadvertise
- advertise- Since:
- 3.0
-
handleInvalidImportRegistration
-
handleEvent
- Parameters:
event
- the service eventlisteners
- map of listeners- Since:
- 3.0
-
handleServiceRegistering
-
handleServiceModifying
-
handleServiceUnregistering
-