Package org.knopflerfish.service.log

Examples of org.knopflerfish.service.log.LogRef


        closeLogRef();
    }

    private void createLogRef() {
        throwIfBundleContextIsNull();
        log = new LogRef(bc);
    }
View Full Code Here


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

    httpTracker = new ServiceTracker(bc, HttpService.class.getName(), null) {
        public Object addingService(final ServiceReference sr)
        {
          return register(sr);
View Full Code Here

  /**
   * Construct an EventQueue.
   *
   */
  EventQueue( BundleContext bc ) {
    this.log = new LogRef(bc);
  }
View Full Code Here

    static LogRef log;
    ServiceRegistration umsr;

    public void start(BundleContext bc) {
        Activator.bc = bc;
        log = new LogRef(bc);
        uai = new UserAdminImpl();
        umsr = bc.registerService(UserAdmin.class.getName(), uai,
                new Hashtable());
    }
View Full Code Here

  SystemMetatypeProvider sysMTP;
  SysPropMetatypeProvider spMTP;
  public void start(BundleContext _bc) {

    this.bc = _bc;
    this.log = new LogRef(bc);

    sysMTP = new SystemMetatypeProvider(bc);
    sysMTP.open();

    bc.registerService(new String[] {
View Full Code Here

    // BundleActivator methods implementation

    public void start(BundleContext bc) {
        TelnetServer.bc = bc;

        log = new LogRef(bc, true);

        telnetSessions = new Hashtable();

        Hashtable conf = new Hashtable();
        try {
View Full Code Here

    } catch (Exception ignored) {
    }


    Activator.bc        = _bc;
    Activator.log       = new LogRef(bc);
    Activator.myself    = this;

    remoteTracker = new ServiceTracker(bc, RemoteFramework.class.getName(), null) {
        public Object addingService(ServiceReference sr) {
          Object obj = super.addingService(sr);
View Full Code Here

  public static BundleContext bc;
  public static LogRef        log;

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

    CommandGroup cg = new SOAPCommandGroup();
    Hashtable props = new Hashtable();
    props.put(CommandGroup.GROUP_NAME, cg.getGroupName());
    bc.registerService(CommandGroup.class.getName(), cg, props);
View Full Code Here

  static LogRef log;

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

    String alias = bc.getProperty("org.knopflerfish.httpconsole.alias");
    if(alias != null && !"".equals(alias)) {
      SERVLET_ALIAS = alias.trim();
    }
View Full Code Here

    BasicDriverLocator(BundleContext bc) {
        this.bc = bc;

        // Try to get log service and handle it's life cycle
        log = new LogRef(bc);

        String jars = bc.getProperty("org.knopflerfish.gosg.jars");
        jarbase = (null==jars || jars.length()==0) ? "file:" : jars;
    }
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.