org.eclipse.ecf.osgi.services.distribution
Class AbstractDistributionListener

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.distribution.AbstractDistributionListener
Direct Known Subclasses:
LoggingHostDistributionListener, LoggingProxyDistributionListener

public abstract class AbstractDistributionListener
extends java.lang.Object


Field Summary
protected  int logLevel
           
 
Constructor Summary
AbstractDistributionListener()
           
AbstractDistributionListener(int logLevel)
           
 
Method Summary
protected  java.lang.String createTabs(int tabLevel)
           
protected  int getLogLevel()
           
protected  void log(org.osgi.framework.ServiceReference serviceReference, java.lang.String message, java.lang.Throwable t)
           
protected  java.lang.String printID(int tabLevel, java.lang.String label, ID id)
           
protected  java.lang.String printRemoteServiceContainer(int tabLevel, IRemoteServiceContainer remoteServiceContainer)
           
protected  java.lang.String printRemoteServiceReference(int tabLevel, IRemoteServiceReference remoteReference)
           
protected  java.lang.String printRemoteServiceReferenceProperties(int tabLevel, IRemoteServiceReference remoteReference)
           
protected  java.lang.String printRemoteServiceRegistration(int tabLevel, IRemoteServiceRegistration remoteRegistration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logLevel

protected int logLevel
Constructor Detail

AbstractDistributionListener

public AbstractDistributionListener(int logLevel)

AbstractDistributionListener

public AbstractDistributionListener()
Method Detail

getLogLevel

protected int getLogLevel()

log

protected void log(org.osgi.framework.ServiceReference serviceReference,
                   java.lang.String message,
                   java.lang.Throwable t)

createTabs

protected java.lang.String createTabs(int tabLevel)

printID

protected java.lang.String printID(int tabLevel,
                                   java.lang.String label,
                                   ID id)

printRemoteServiceRegistration

protected java.lang.String printRemoteServiceRegistration(int tabLevel,
                                                          IRemoteServiceRegistration remoteRegistration)

printRemoteServiceReference

protected java.lang.String printRemoteServiceReference(int tabLevel,
                                                       IRemoteServiceReference remoteReference)

printRemoteServiceReferenceProperties

protected java.lang.String printRemoteServiceReferenceProperties(int tabLevel,
                                                                 IRemoteServiceReference remoteReference)

printRemoteServiceContainer

protected java.lang.String printRemoteServiceContainer(int tabLevel,
                                                       IRemoteServiceContainer remoteServiceContainer)