Class TopologyManager
- java.lang.Object
- 
- org.eclipse.ecf.osgi.services.remoteserviceadmin.TopologyManager
 
- 
- All Implemented Interfaces:
- ITopologyManager,- EventListenerHook,- RemoteServiceAdminListener
 
 public class TopologyManager extends Object implements EventListenerHook, RemoteServiceAdminListener, ITopologyManager - Since:
- 4.6
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ServiceRegistration<?>endpointListenerRegistrationprotected TopologyManagerImpltopologyManagerImpl- 
Fields inherited from interface org.eclipse.ecf.osgi.services.remoteserviceadmin.ITopologyManagerENDPOINT_ALLOWLOCALHOST, ENDPOINT_ALLOWLOCALHOST_PROP, ENDPOINT_EXTRA_FILTERS, ENDPOINT_EXTRA_FILTERS_PROP, EXPORT_REGISTERED_SERVICES_FILTER, EXPORT_REGISTERED_SERVICES_FILTER_PROP, ONLY_ECF_SCOPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description TopologyManager()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(BundleContext context, Map<String,?> properties)protected Dictionary<String,Object>createEndpointListenerProps(List<String> filters)protected TopologyManagerImplcreateTopologyManagerImpl(BundleContext context, boolean allowLocalhost, String[] extraFilters)protected voiddeactivate()voidevent(ServiceEvent event, Map listeners)String[]getEndpointFilters()voidremoteAdminEvent(RemoteServiceAdminEvent event)Receive notification of any export or import registrations and unregistrations as well as errors and warnings.String[]setEndpointFilters(String[] newFilters)
 
- 
- 
- 
Field Detail- 
topologyManagerImplprotected TopologyManagerImpl topologyManagerImpl 
 - 
endpointListenerRegistrationprotected ServiceRegistration<?> endpointListenerRegistration 
 
- 
 - 
Method Detail- 
createTopologyManagerImplprotected TopologyManagerImpl createTopologyManagerImpl(BundleContext context, boolean allowLocalhost, String[] extraFilters) - Since:
- 4.9
 
 - 
activateprotected void activate(BundleContext context, Map<String,?> properties) throws Exception - Throws:
- Exception
 
 - 
createEndpointListenerPropsprotected Dictionary<String,Object> createEndpointListenerProps(List<String> filters) 
 - 
deactivateprotected void deactivate() 
 - 
remoteAdminEventpublic void remoteAdminEvent(RemoteServiceAdminEvent event) Description copied from interface:RemoteServiceAdminListenerReceive notification of any export or import registrations and unregistrations as well as errors and warnings.- Specified by:
- remoteAdminEventin interface- RemoteServiceAdminListener
- Parameters:
- event- The- RemoteServiceAdminEventobject.
 
 - 
eventpublic void event(ServiceEvent event, Map listeners) - Specified by:
- eventin interface- EventListenerHook
 
 - 
getEndpointFilterspublic String[] getEndpointFilters() - Specified by:
- getEndpointFiltersin interface- ITopologyManager
 
 - 
setEndpointFilterspublic String[] setEndpointFilters(String[] newFilters) - Specified by:
- setEndpointFiltersin interface- ITopologyManager
 
 
- 
 
-