damon.core
Class DamonCore

java.lang.Object
  extended by easypastry.core.PastryKernel
      extended by damon.core.DamonCore

public class DamonCore
extends easypastry.core.PastryKernel


Field Summary
 
Fields inherited from class easypastry.core.PastryKernel
cast, conn, dhtName, dhtProps, hostname, node
 
Constructor Summary
DamonCore()
           
 
Method Summary
static void close()
           
static AspectActivator getActivator()
           
static AspectContainer getContainer()
           
static AspectControl getControl()
           
static AspectInvoker getInvoker()
           
static ReflectionHandler getReflection()
           
static AspectStorage getStorage()
           
static void init(java.lang.String configPath)
           
static void init(java.lang.String bhost, int bport, java.lang.String configPath)
           
static void init(java.lang.String bhost, java.lang.String configPath)
           
static void registerGroup(java.lang.String url)
           
static void setClassLoader(java.lang.ClassLoader classLoader)
           
 
Methods inherited from class easypastry.core.PastryKernel
getCastHandler, getDHTHandler, getDHTHandler, getDHTHandler, getDHTHandler, getDHTHandler, getHostName, getNodeHandle, getPastryConnection, loadProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DamonCore

public DamonCore()
Method Detail

init

public static void init(java.lang.String configPath)
                 throws java.lang.Exception
Throws:
java.lang.Exception

init

public static void init(java.lang.String bhost,
                        java.lang.String configPath)
                 throws java.lang.Exception
Throws:
java.lang.Exception

init

public static void init(java.lang.String bhost,
                        int bport,
                        java.lang.String configPath)
                 throws java.lang.Exception
Throws:
java.lang.Exception

close

public static void close()

getStorage

public static AspectStorage getStorage()

getControl

public static AspectControl getControl()

registerGroup

public static void registerGroup(java.lang.String url)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getContainer

public static AspectContainer getContainer()

getActivator

public static AspectActivator getActivator()

getInvoker

public static AspectInvoker getInvoker()

getReflection

public static ReflectionHandler getReflection()

setClassLoader

public static void setClassLoader(java.lang.ClassLoader classLoader)