Class TopologyManagerImpl
- java.lang.Object
-
- org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager
-
- org.eclipse.ecf.osgi.services.remoteserviceadmin.TopologyManagerImpl
-
- All Implemented Interfaces:
EndpointEventListener
public class TopologyManagerImpl extends AbstractTopologyManager implements EndpointEventListener
- Since:
- 4.6
-
-
Field Summary
Fields Modifier and Type Field Description static intSTARTUP_WAIT_TIME-
Fields inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager
SERVICE_EXPORTED_INTERFACES_WILDCARD
-
Fields inherited from interface org.osgi.service.remoteserviceadmin.EndpointEventListener
ENDPOINT_LISTENER_SCOPE
-
-
Constructor Summary
Constructors Constructor Description TopologyManagerImpl(BundleContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendpointChanged(EndpointEvent event, String matchedFilter)Notification that an endpoint has changed.protected voidexportRegisteredServices(String exportRegisteredSvcsFilter)protected StringgetFrameworkUUID()protected voidhandleEndpointAdded(EndpointDescription endpoint, String matchedFilter)protected voidhandleEndpointModified(EndpointDescription endpoint, String matchedFilter)protected voidhandleEndpointModifiedEndmatch(EndpointDescription endpoint, String matchedFilter)protected voidhandleEndpointRemoved(EndpointDescription endpoint, String matchedFilter)protected voidhandleEvent(ServiceEvent event, Map listeners)protected voidhandleRemoteAdminEvent(RemoteServiceAdminEvent event)-
Methods inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager
advertiseEndpointDescription, advertiseModifyEndpointDescription, close, createISIFFilter, createRSAFilter, getContext, getRemoteServiceAdmin, handleAdvertisingResult, handleECFEndpointAdded, handleECFEndpointModified, handleECFEndpointRemoved, handleInvalidImportRegistration, handleNonECFEndpointAdded, handleNonECFEndpointModified, handleNonECFEndpointRemoved, handleNonECFEndpointRemoved, handleServiceModifying, handleServiceRegistering, handleServiceUnregistering, logError, logError, logError, logWarning, trace, unadvertiseEndpointDescription
-
-
-
-
Constructor Detail
-
TopologyManagerImpl
public TopologyManagerImpl(BundleContext context)
-
-
Method Detail
-
getFrameworkUUID
protected String getFrameworkUUID()
- Overrides:
getFrameworkUUIDin classAbstractTopologyManager
-
handleEndpointAdded
protected void handleEndpointAdded(EndpointDescription endpoint, String matchedFilter)
-
handleEndpointRemoved
protected void handleEndpointRemoved(EndpointDescription endpoint, String matchedFilter)
-
handleEvent
protected void handleEvent(ServiceEvent event, Map listeners)
- Overrides:
handleEventin classAbstractTopologyManager- Parameters:
event- the service eventlisteners- map of listeners
-
handleRemoteAdminEvent
protected void handleRemoteAdminEvent(RemoteServiceAdminEvent event)
-
endpointChanged
public void endpointChanged(EndpointEvent event, String matchedFilter)
Description copied from interface:EndpointEventListenerNotification that an endpoint has changed. Details of the change is captured in the Endpoint Event provided. This could be that an endpoint was added, removed or modified.- Specified by:
endpointChangedin interfaceEndpointEventListener- Parameters:
event- The event containing the details about the change.matchedFilter- The filter from theEndpointEventListener.ENDPOINT_LISTENER_SCOPEthat matches (or forEndpointEvent.MODIFIED_ENDMATCHandEndpointEvent.REMOVEDused to match) the endpoint, must not benull.
-
handleEndpointModifiedEndmatch
protected void handleEndpointModifiedEndmatch(EndpointDescription endpoint, String matchedFilter)
-
handleEndpointModified
protected void handleEndpointModified(EndpointDescription endpoint, String matchedFilter)
-
exportRegisteredServices
protected void exportRegisteredServices(String exportRegisteredSvcsFilter)
-
-