LimeWire Consolidated API

com.limegroup.gnutella
Class LimeCoreGlue

java.lang.Object
  extended by com.limegroup.gnutella.LimeCoreGlue
All Implemented Interfaces:
Service

public class LimeCoreGlue
extends Object
implements Service

This class is the glue that holds LimeWire together. All various components are wired together here.


Nested Class Summary
static class LimeCoreGlue.InstallFailedException
          Simple exception for failure to install.
 
Constructor Summary
LimeCoreGlue(com.google.inject.Provider<SimppManager> simppManager)
           
 
Method Summary
 String getServiceName()
           
 void initialize()
           
 void install()
          Wires all various components together.
static void preinstall()
          Wires initial pieces together that are required for nearly everything.
static void preinstall(File userSettingsDir)
          Wires initial pieces together that are required for nearly everything.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LimeCoreGlue

@Inject
public LimeCoreGlue(com.google.inject.Provider<SimppManager> simppManager)
Method Detail

preinstall

public static void preinstall()
                       throws LimeCoreGlue.InstallFailedException
Wires initial pieces together that are required for nearly everything.

Parameters:
userSettingsDir - the preferred directory for user settings
Throws:
LimeCoreGlue.InstallFailedException

preinstall

public static void preinstall(File userSettingsDir)
                       throws LimeCoreGlue.InstallFailedException
Wires initial pieces together that are required for nearly everything.

Parameters:
userSettingsDir - the preferred directory for user settings
Throws:
LimeCoreGlue.InstallFailedException

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface Service

initialize

public void initialize()
Specified by:
initialize in interface Service

start

public void start()
Specified by:
start in interface Service

stop

public void stop()
Specified by:
stop in interface Service

install

public void install()
Wires all various components together.


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.