- java.lang.Object
-
- swim.dynamic.JavaHostLibrary
-
- All Implemented Interfaces:
HostLibrary
public class JavaHostLibrary extends Object implements HostLibrary
-
-
Field Summary
Fields Modifier and Type Field Description protected String
libraryName
-
Constructor Summary
Constructors Constructor Description JavaHostLibrary(String libraryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHostPackage(HostPackage hostPackage)
void
addHostType(HostType<?> hostType)
HostPackage
getHostPackage(String packageName)
HostType<?>
getHostType(Class<?> typeClass)
HostType<?>
getHostType(String typeName)
Collection<HostPackage>
hostPackages()
Collection<HostType<?>>
hostTypes()
String
libraryName()
-
-
-
Field Detail
-
libraryName
protected final String libraryName
-
-
Constructor Detail
-
JavaHostLibrary
public JavaHostLibrary(String libraryName)
-
-
Method Detail
-
libraryName
public final String libraryName()
- Specified by:
libraryName
in interfaceHostLibrary
-
getHostPackage
public final HostPackage getHostPackage(String packageName)
- Specified by:
getHostPackage
in interfaceHostLibrary
-
hostPackages
public final Collection<HostPackage> hostPackages()
- Specified by:
hostPackages
in interfaceHostLibrary
-
getHostType
public final HostType<?> getHostType(String typeName)
- Specified by:
getHostType
in interfaceHostLibrary
-
getHostType
public final HostType<?> getHostType(Class<?> typeClass)
- Specified by:
getHostType
in interfaceHostLibrary
-
hostTypes
public Collection<HostType<?>> hostTypes()
- Specified by:
hostTypes
in interfaceHostLibrary
-
addHostPackage
public void addHostPackage(HostPackage hostPackage)
-
addHostType
public void addHostType(HostType<?> hostType)
-
-