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 voidadvertiseEndpointDescription(EndpointDescription endpointDescription) protected voidadvertiseModifyEndpointDescription(EndpointDescription endpointDescription) voidclose()protected Filterprotected Filterprotected BundleContextprotected Stringprotected RemoteServiceAdminprotected voidhandleAdvertisingResult(org.eclipse.core.runtime.IStatus result, EndpointDescription endpointDescription, boolean advertise) protected voidhandleECFEndpointAdded(EndpointDescription endpointDescription) protected voidhandleECFEndpointModified(EndpointDescription endpoint) protected voidhandleECFEndpointRemoved(EndpointDescription endpointDescription) protected voidhandleEvent(ServiceEvent event, Map listeners) protected voidhandleInvalidImportRegistration(ImportRegistration importRegistration, Throwable t) protected voidhandleNonECFEndpointAdded(EndpointListener listener, EndpointDescription endpointDescription) protected voidhandleNonECFEndpointModified(EndpointEventListener basicTopologyManagerImpl, EndpointDescription endpointDescription) protected voidhandleNonECFEndpointRemoved(EndpointDescription endpointDescription, String matchedFilter) protected voidhandleNonECFEndpointRemoved(EndpointListener listener, EndpointDescription endpointDescription) protected voidhandleServiceModifying(ServiceReference serviceReference) protected voidhandleServiceRegistering(ServiceReference serviceReference) protected voidhandleServiceUnregistering(ServiceReference serviceReference) protected booleanprotected voidprotected voidprotected voidprotected voidlogWarning(String methodName, String message) protected voidprotected voidunadvertiseEndpointDescription(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
-