- java.lang.Object
-
- swim.dynamic.JavaHostRuntime
-
- All Implemented Interfaces:
HostRuntime
- Direct Known Subclasses:
JsHostRuntime
public class JavaHostRuntime extends Object implements HostRuntime
-
-
Constructor Summary
Constructors Constructor Description JavaHostRuntime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHostLibrary(HostLibrary hostLibrary)
void
addHostPackage(HostPackage hostPackage)
void
addHostType(HostType<?> hostType)
HostLibrary
getHostLibrary(String libraryName)
HostPackage
getHostPackage(String packageName)
HostType<?>
getHostType(Class<?> typeClass)
Collection<HostLibrary>
hostLibraries()
Collection<HostPackage>
hostPackages()
Collection<HostType<?>>
hostTypes()
-
-
-
Method Detail
-
getHostLibrary
public final HostLibrary getHostLibrary(String libraryName)
- Specified by:
getHostLibrary
in interfaceHostRuntime
-
hostLibraries
public final Collection<HostLibrary> hostLibraries()
- Specified by:
hostLibraries
in interfaceHostRuntime
-
getHostPackage
public final HostPackage getHostPackage(String packageName)
- Specified by:
getHostPackage
in interfaceHostRuntime
-
hostPackages
public final Collection<HostPackage> hostPackages()
- Specified by:
hostPackages
in interfaceHostRuntime
-
getHostType
public final HostType<?> getHostType(Class<?> typeClass)
- Specified by:
getHostType
in interfaceHostRuntime
-
hostTypes
public final Collection<HostType<?>> hostTypes()
- Specified by:
hostTypes
in interfaceHostRuntime
-
addHostLibrary
public void addHostLibrary(HostLibrary hostLibrary)
-
addHostPackage
public void addHostPackage(HostPackage hostPackage)
-
addHostType
public void addHostType(HostType<?> hostType)
-
-