public abstract class AbstractTopologyManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_EXPORTED_INTERFACES_WILDCARD |
Constructor and Description |
---|
AbstractTopologyManager(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
advertiseEndpointDescription(EndpointDescription endpointDescription) |
protected void |
advertiseModifyEndpointDescription(EndpointDescription endpointDescription) |
void |
close() |
protected org.osgi.framework.Filter |
createISIFFilter(org.osgi.framework.BundleContext ctx) |
protected org.osgi.framework.Filter |
createRSAFilter() |
protected org.osgi.framework.BundleContext |
getContext() |
protected java.lang.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(org.osgi.framework.ServiceEvent event,
java.util.Map listeners) |
protected void |
handleInvalidImportRegistration(ImportRegistration importRegistration,
java.lang.Throwable t) |
protected void |
handleNonECFEndpointAdded(EndpointListener listener,
EndpointDescription endpointDescription) |
protected void |
handleNonECFEndpointModified(EndpointEventListener basicTopologyManagerImpl,
EndpointDescription endpointDescription) |
protected void |
handleNonECFEndpointRemoved(EndpointDescription endpointDescription,
java.lang.String matchedFilter) |
protected void |
handleNonECFEndpointRemoved(EndpointListener listener,
EndpointDescription endpointDescription) |
protected void |
handleServiceModifying(org.osgi.framework.ServiceReference serviceReference) |
protected void |
handleServiceRegistering(org.osgi.framework.ServiceReference serviceReference) |
protected void |
handleServiceUnregistering(org.osgi.framework.ServiceReference serviceReference) |
protected void |
logError(java.lang.String methodName,
java.lang.String message) |
protected void |
logError(java.lang.String methodName,
java.lang.String message,
org.eclipse.core.runtime.IStatus result) |
protected void |
logError(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable exception) |
protected void |
logWarning(java.lang.String methodName,
java.lang.String message) |
protected void |
trace(java.lang.String methodName,
java.lang.String message) |
protected void |
unadvertiseEndpointDescription(EndpointDescription endpointDescription) |
public static final java.lang.String SERVICE_EXPORTED_INTERFACES_WILDCARD
public AbstractTopologyManager(org.osgi.framework.BundleContext context)
protected org.osgi.framework.BundleContext getContext()
protected java.lang.String getFrameworkUUID()
public void close()
protected void logWarning(java.lang.String methodName, java.lang.String message)
protected org.osgi.framework.Filter createRSAFilter()
protected org.osgi.framework.Filter createISIFFilter(org.osgi.framework.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(java.lang.String methodName, java.lang.String message, java.lang.Throwable exception)
protected void logError(java.lang.String methodName, java.lang.String message, org.eclipse.core.runtime.IStatus result)
protected void trace(java.lang.String methodName, java.lang.String message)
protected void logError(java.lang.String methodName, java.lang.String message)
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, java.lang.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, java.lang.Throwable t)
protected void handleEvent(org.osgi.framework.ServiceEvent event, java.util.Map listeners)
event
- the service eventlisteners
- map of listenersprotected void handleServiceRegistering(org.osgi.framework.ServiceReference serviceReference)
protected void handleServiceModifying(org.osgi.framework.ServiceReference serviceReference)
protected void handleServiceUnregistering(org.osgi.framework.ServiceReference serviceReference)