public abstract class AbstractTopologyManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_EXPORTED_INTERFACES_WILDCARD |
Constructor and Description |
---|
AbstractTopologyManager(BundleContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
advertiseEndpointDescription(EndpointDescription endpointDescription) |
protected void |
advertiseModifyEndpointDescription(EndpointDescription endpointDescription) |
void |
close() |
protected Filter |
createISIFFilter(BundleContext ctx) |
protected Filter |
createRSAFilter() |
protected BundleContext |
getContext() |
protected String |
getFrameworkUUID() |
protected RemoteServiceAdmin |
getRemoteServiceAdmin() |
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 void |
logError(String methodName,
String message) |
protected void |
logError(String methodName,
String message,
org.eclipse.core.runtime.IStatus result) |
protected void |
logError(String methodName,
String message,
Throwable exception) |
protected void |
logWarning(String methodName,
String message) |
protected void |
trace(String methodName,
String message) |
protected void |
unadvertiseEndpointDescription(EndpointDescription endpointDescription) |
public static final String SERVICE_EXPORTED_INTERFACES_WILDCARD
public AbstractTopologyManager(BundleContext context)
protected BundleContext getContext()
protected String getFrameworkUUID()
public void close()
protected Filter createRSAFilter()
protected Filter createISIFFilter(BundleContext ctx)
ctx
- the bundle contextprotected RemoteServiceAdmin getRemoteServiceAdmin()
protected void advertiseModifyEndpointDescription(EndpointDescription endpointDescription)
endpointDescription
- endpoint descriptionprotected void advertiseEndpointDescription(EndpointDescription endpointDescription)
endpointDescription
- endpoint descriptionprotected void unadvertiseEndpointDescription(EndpointDescription endpointDescription)
endpointDescription
- endpoint descriptionprotected void logError(String methodName, String message, org.eclipse.core.runtime.IStatus result)
protected void handleECFEndpointAdded(EndpointDescription endpointDescription)
endpointDescription
- endpoint descriptionprotected void handleECFEndpointRemoved(EndpointDescription endpointDescription)
endpointDescription
- endpoint descriptionprotected void handleECFEndpointModified(EndpointDescription endpoint)
endpoint
- endpoint descriptionprotected void handleNonECFEndpointAdded(EndpointListener listener, EndpointDescription endpointDescription)
listener
- listenerendpointDescription
- endpoint descriptionprotected void handleNonECFEndpointRemoved(EndpointListener listener, EndpointDescription endpointDescription)
listener
- listenerendpointDescription
- endpoint descriptionprotected void handleNonECFEndpointModified(EndpointEventListener basicTopologyManagerImpl, EndpointDescription endpointDescription)
basicTopologyManagerImpl
- basic topology managerendpointDescription
- endpointDescriptionprotected void handleNonECFEndpointRemoved(EndpointDescription endpointDescription, String matchedFilter)
endpointDescription
- endpoint descriptionmatchedFilter
- matched filterprotected void handleAdvertisingResult(org.eclipse.core.runtime.IStatus result, EndpointDescription endpointDescription, boolean advertise)
result
- resultendpointDescription
- endpoint descriptionadvertise
- advertiseprotected void handleInvalidImportRegistration(ImportRegistration importRegistration, Throwable t)
protected void handleEvent(ServiceEvent event, Map listeners)
event
- the service eventlisteners
- map of listenersprotected void handleServiceRegistering(ServiceReference serviceReference)
protected void handleServiceModifying(ServiceReference serviceReference)
protected void handleServiceUnregistering(ServiceReference serviceReference)
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.