| Home >> All >> org >> alicebot >> server >> [ core Javadoc ] |
Source code: org/alicebot/server/core/ActiveMultiplexor.java
1 // Decompiled by Jad v1.5.8c. Copyright 2001 Pavel Kouznetsov. 2 // Jad home page: http://www.geocities.com/kpdus/jad.html 3 // Decompiler options: packimports(3) 4 5 package org.alicebot.server.core; 6 7 import org.alicebot.server.core.util.DeveloperError; 8 9 // Referenced classes of package org.alicebot.server.core: 10 // Multiplexor, Globals 11 12 public class ActiveMultiplexor 13 { 14 15 private ActiveMultiplexor(String s) 16 { 17 try 18 { 19 multiplexor = (Multiplexor)Class.forName(s).newInstance(); 20 } 21 catch(Exception exception) 22 { 23 throw new DeveloperError(exception); 24 } 25 } 26 27 protected Object clone() 28 throws CloneNotSupportedException 29 { 30 throw new CloneNotSupportedException(); 31 } 32 33 public static Multiplexor getInstance() 34 { 35 return multiplexor; 36 } 37 38 private static Multiplexor multiplexor; 39 private static final ActiveMultiplexor myself = new ActiveMultiplexor(Globals.getProperty("programd.multiplexor", "org.alicebot.server.core.FlatFileMultiplexor")); 40 41 }