- java.lang.Object
-
- org.praxislive.base.AbstractRoot
-
- org.praxislive.hub.BasicCoreRoot
-
- All Implemented Interfaces:
org.praxislive.core.Lookup.Provider,org.praxislive.core.Root
public class BasicCoreRoot extends org.praxislive.base.AbstractRoot
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasicCoreRoot(Hub.Accessor hubAccess, List<org.praxislive.core.Root> exts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivating()protected voidbuildControlMap(Map<String,org.praxislive.core.Control> ctrls)protected intexitValue()static Hub.CoreRootFactoryfactory()protected voidforceTermination()protected Hub.AccessorgetHubAccessor()org.praxislive.base.AbstractRoot.Controllerinitialize(String id, org.praxislive.core.RootHub hub)protected voidinstallExtensions()protected voidinstallRoot(String id, String type, org.praxislive.core.Root root)protected voidprocessCall(org.praxislive.core.Call call, org.praxislive.core.PacketRouter router)protected voidregisterServices()protected voidstartRoot(String id, String type, org.praxislive.core.Root.Controller ctrl)protected voidterminating()protected voiduninstallRoot(String id)-
Methods inherited from class org.praxislive.base.AbstractRoot
attachDelegate, createContext, createController, createRouter, delegateConfig, detachDelegate, findService, getAddress, getExecutionContext, getLookup, getRootHub, getRouter, getState, interrupt, invokeLater, setIdle, setRunning, starting, stopping, update
-
-
-
-
Constructor Detail
-
BasicCoreRoot
protected BasicCoreRoot(Hub.Accessor hubAccess, List<org.praxislive.core.Root> exts)
-
-
Method Detail
-
initialize
public org.praxislive.base.AbstractRoot.Controller initialize(String id, org.praxislive.core.RootHub hub)
- Specified by:
initializein interfaceorg.praxislive.core.Root- Overrides:
initializein classorg.praxislive.base.AbstractRoot
-
activating
protected void activating()
- Overrides:
activatingin classorg.praxislive.base.AbstractRoot
-
terminating
protected void terminating()
- Overrides:
terminatingin classorg.praxislive.base.AbstractRoot
-
forceTermination
protected void forceTermination()
-
exitValue
protected int exitValue()
-
processCall
protected void processCall(org.praxislive.core.Call call, org.praxislive.core.PacketRouter router)- Specified by:
processCallin classorg.praxislive.base.AbstractRoot
-
registerServices
protected void registerServices()
-
installExtensions
protected void installExtensions()
-
installRoot
protected void installRoot(String id, String type, org.praxislive.core.Root root) throws Exception
- Throws:
Exception
-
uninstallRoot
protected void uninstallRoot(String id)
-
startRoot
protected void startRoot(String id, String type, org.praxislive.core.Root.Controller ctrl)
-
getHubAccessor
protected Hub.Accessor getHubAccessor()
-
factory
public static Hub.CoreRootFactory factory()
-
-