org.apache.camel.component.paxlogging
Class PaxLoggingServiceFactory

java.lang.Object
  extended by org.apache.camel.component.paxlogging.PaxLoggingServiceFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory

public class PaxLoggingServiceFactory
extends Object
implements org.osgi.framework.ServiceFactory

This service factory only purpose is to know which bundle is requesting the component so that the pax logging appender can be registered from the correct bundle context.


Constructor Summary
PaxLoggingServiceFactory()
           
 
Method Summary
 Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration)
           
 void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaxLoggingServiceFactory

public PaxLoggingServiceFactory()
Method Detail

getService

public Object getService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration serviceRegistration)
Specified by:
getService in interface org.osgi.framework.ServiceFactory

ungetService

public void ungetService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration serviceRegistration,
                         Object o)
Specified by:
ungetService in interface org.osgi.framework.ServiceFactory


Apache Camel