Package org.knopflerfish.service.log

Examples of org.knopflerfish.service.log.LogRef


  RemoteFWServer remoteFW;

  public void start(BundleContext bc) {
    this.bc = bc;
    log = new LogRef(bc);

    if("true".equals(System.getProperty("org.knopflerfish.soap.remotefw.server", "true"))) {
      remoteFW = new RemoteFWServer();
      remoteFW.start();
    }
View Full Code Here


 
  static LogRef log;

  public void start(BundleContext bc) throws BundleException {
    this.bc = bc;
    log = new LogRef(bc);

    try {
      axisAdmin = new Axis2AdminImpl(bc);
      axisAdmin.init();
      Hashtable props = new Hashtable();
View Full Code Here

   * for listeners.
   */
  public SystemMetatypeProvider(BundleContext bc) {
    super("system");
    this.bc = bc;
    log = new LogRef(bc);
  }
View Full Code Here

public class Activator implements BundleActivator {
  private Config conf;
  private LogRef log;

  public void start(BundleContext bc) throws Exception {
    log = new LogRef(bc);
    conf=new Config(log);
    conf.start(bc);
  }
View Full Code Here

  RemoteFWServer remoteFW;

  public void start(BundleContext bc) {
    Activator.bc = bc;
    log = new LogRef(bc);

    final String startServerS
      = bc.getProperty("org.knopflerfish.soap.remotefw.server");
    final boolean startServer = null==startServerS || 0==startServerS.length()
      ? true : "true".equals(startServerS);
View Full Code Here

  Log cLog;

  public void start(BundleContext _bc) {
    this.bc   = _bc;
    this.log  = new LogRef(bc);
   
    cLog = LogFactory.getLog("OSGi logger");   
    cLog.trace("OSGi Log implementation of Apache Commons logging started");
  }
View Full Code Here

      return soapServlet;
   }

   public void start(BundleContext bc) throws BundleException {
      try {
         log = new LogRef(bc, true);
         this.bc = bc;
         setup();
      } catch (Exception e) {
        log.error("Exception when starting bundle", e);
        throw new BundleException("Failed to start server");
View Full Code Here

  static long timeWarning = 0;

  public void start(BundleContext bc) throws Exception
  {
    Activator.bc = bc;
    log = new LogRef(bc);
    handlerTracker = new EventHandlerTracker(bc);

    /* Tries to get the timeout property from the system */
    try {
      final String timeoutS = Activator.bc.getProperty(TIMEOUT_PROP);
View Full Code Here

  PreferencesServiceFactory prefsFactory;

  public void start(BundleContext bc) {
    this.bc = bc;
    this.log = new LogRef(bc);

    prefsFactory = new PreferencesServiceFactory();
    prefsFactory.register();

  }
View Full Code Here

   */
  public void start(BundleContext bc) throws Exception
  {
       
        m_bc = bc;
        m_log = new LogRef(m_bc);

        m_factory = new SslServiceFactory(m_bc, m_log);

        Dictionary parameters = new Hashtable();
        parameters.put("service.pid", SslServiceFactory.PID);
View Full Code Here

TOP

Related Classes of org.knopflerfish.service.log.LogRef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.