- java.lang.Object
-
- org.praxislive.code.SharedCodeService
-
public class SharedCodeService extends Object implements Service
AServicefor handling shared code updates and creating dependentCodeContext. Must be running in the same process as the components due to task and result references. Should make use of aCodeCompilerServiceimplementation for compiling source code (which does support other processes).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharedCodeService.DependentResult<D extends CodeDelegate>A dependent result with new code context linked to new shared code classes.static classSharedCodeService.DependentTask<D extends CodeDelegate>A dependent task for recompiling aCodeDelegateagainst the new shared code classes.static classSharedCodeService.ResultResult with shared classes, dependent code contexts, and log.static classSharedCodeService.TaskTask containing new shared code and dependents to be updated, for sending to the SharedCodeService.-
Nested classes/interfaces inherited from interface org.praxislive.core.Protocol
Protocol.Type<T extends Protocol>, Protocol.TypeProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringNEW_SHAREDstatic ControlInfoNEW_SHARED_INFO
-
Constructor Summary
Constructors Constructor Description SharedCodeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<String>controls()ControlInfogetControlInfo(String control)
-
-
-
Field Detail
-
NEW_SHARED
public static final String NEW_SHARED
- See Also:
- Constant Field Values
-
NEW_SHARED_INFO
public static final ControlInfo NEW_SHARED_INFO
-
-
Method Detail
-
getControlInfo
public ControlInfo getControlInfo(String control)
- Specified by:
getControlInfoin interfaceProtocol
-
-