Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.media.datastore.beepserver
Class BeepServer  view BeepServer download BeepServer.java

java.lang.Object
  extended byAbstractLogEnabled
      extended byorg.media.datastore.beepserver.BeepServer
All Implemented Interfaces:
java.lang.Runnable

public class BeepServer
extends AbstractLogEnabled
implements java.lang.Runnable

Version:
$Revision: 1.23 $ $Date: 2001/04/21 15:00:00

Nested Class Summary
private  class BeepServer.ProfileParams
           
 
Field Summary
private static boolean autoCommit
           
private  boolean beepLog
           
static Logger BEEPLOGGER
           
private  java.util.Hashtable conf
           
private static boolean isUpLM
           
(package private)  int port
           
private  boolean running
           
private  ThreadManager threadManager
           
 
Constructor Summary
BeepServer()
           
 
Method Summary
private  ProfileRegistry chooseTls(BeepServer.ProfileParams pp, ProfileRegistry preg)
           
 void configure(Configuration configuration)
           
static boolean isAutoCommit()
           
static boolean lexiconManagerIsUp()
           
private  ProfileRegistry register()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void service(ServiceManager serviceManager)
           
static void setAutoCommit(boolean flag)
           
static void setLexiconManagerState(boolean state)
           
 void start()
           
 void stop()
           
private  void synchronizeUsers()
           
private  void validateDataBase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEEPLOGGER

public static Logger BEEPLOGGER

port

int port

conf

private java.util.Hashtable conf

isUpLM

private static boolean isUpLM

autoCommit

private static boolean autoCommit

beepLog

private boolean beepLog

running

private boolean running

threadManager

private ThreadManager threadManager
Constructor Detail

BeepServer

public BeepServer()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException

configure

public void configure(Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException

start

public void start()
           throws java.lang.Exception

stop

public void stop()
          throws java.lang.Exception

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

setLexiconManagerState

public static void setLexiconManagerState(boolean state)

lexiconManagerIsUp

public static boolean lexiconManagerIsUp()

setAutoCommit

public static void setAutoCommit(boolean flag)

isAutoCommit

public static boolean isAutoCommit()

validateDataBase

private void validateDataBase()
                       throws java.lang.Exception

synchronizeUsers

private void synchronizeUsers()
                       throws java.lang.Exception

chooseTls

private ProfileRegistry chooseTls(BeepServer.ProfileParams pp,
                                  ProfileRegistry preg)

register

private ProfileRegistry register()