org.eclipse.ecf.osgi.services.remoteserviceadmin
Class AbstractTopologyManager
java.lang.Object
org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager
public abstract class AbstractTopologyManager
- extends java.lang.Object
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).
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_EXPORTED_INTERFACES_WILDCARD
public static final java.lang.String SERVICE_EXPORTED_INTERFACES_WILDCARD
- See Also:
- Constant Field Values
AbstractTopologyManager
public AbstractTopologyManager(org.osgi.framework.BundleContext context)
getContext
protected org.osgi.framework.BundleContext getContext()
getFrameworkUUID
protected java.lang.String getFrameworkUUID()
close
public void close()
logWarning
protected void logWarning(java.lang.String methodName,
java.lang.String message)
createRSAFilter
protected org.osgi.framework.Filter createRSAFilter()
createISIFFilter
protected org.osgi.framework.Filter createISIFFilter(org.osgi.framework.BundleContext ctx)
- Since:
- 4.0
getRemoteServiceAdmin
protected RemoteServiceAdmin getRemoteServiceAdmin()
advertiseModifyEndpointDescription
protected void advertiseModifyEndpointDescription(EndpointDescription endpointDescription)
- Since:
- 4.1
advertiseEndpointDescription
protected void advertiseEndpointDescription(EndpointDescription endpointDescription)
- Since:
- 3.0
unadvertiseEndpointDescription
protected void unadvertiseEndpointDescription(EndpointDescription endpointDescription)
- Since:
- 3.0
logError
protected void logError(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable exception)
logError
protected void logError(java.lang.String methodName,
java.lang.String message,
org.eclipse.core.runtime.IStatus result)
trace
protected void trace(java.lang.String methodName,
java.lang.String message)
logError
protected void logError(java.lang.String methodName,
java.lang.String message)
handleECFEndpointAdded
protected void handleECFEndpointAdded(EndpointDescription endpointDescription)
- Since:
- 3.0
handleECFEndpointRemoved
protected void handleECFEndpointRemoved(EndpointDescription endpointDescription)
- Since:
- 3.0
handleECFEndpointModified
protected void handleECFEndpointModified(EndpointDescription endpoint)
- Since:
- 4.1
handleNonECFEndpointAdded
protected void handleNonECFEndpointAdded(EndpointListener listener,
EndpointDescription endpointDescription)
- Since:
- 3.0
handleNonECFEndpointRemoved
protected void handleNonECFEndpointRemoved(EndpointListener listener,
EndpointDescription endpointDescription)
- Since:
- 3.0
handleNonECFEndpointModified
protected void handleNonECFEndpointModified(EndpointEventListener basicTopologyManagerImpl,
EndpointDescription endpointDescription)
- Since:
- 4.1
handleNonECFEndpointRemoved
protected void handleNonECFEndpointRemoved(EndpointDescription endpointDescription,
java.lang.String matchedFilter)
- Since:
- 3.0
handleAdvertisingResult
protected void handleAdvertisingResult(org.eclipse.core.runtime.IStatus result,
EndpointDescription endpointDescription,
boolean advertise)
- Since:
- 3.0
handleInvalidImportRegistration
protected void handleInvalidImportRegistration(ImportRegistration importRegistration,
java.lang.Throwable t)
handleEvent
protected void handleEvent(org.osgi.framework.ServiceEvent event,
java.util.Map listeners)
- Since:
- 3.0
handleServiceRegistering
protected void handleServiceRegistering(org.osgi.framework.ServiceReference serviceReference)
handleServiceModifying
protected void handleServiceModifying(org.osgi.framework.ServiceReference serviceReference)
handleServiceUnregistering
protected void handleServiceUnregistering(org.osgi.framework.ServiceReference serviceReference)