- 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 StringlibraryName
-
Constructor Summary
Constructors Constructor Description JavaHostLibrary(String libraryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHostPackage(HostPackage hostPackage)voidaddHostType(HostType<?> hostType)HostPackagegetHostPackage(String packageName)HostType<?>getHostType(Class<?> typeClass)HostType<?>getHostType(String typeName)Collection<HostPackage>hostPackages()Collection<HostType<?>>hostTypes()StringlibraryName()
-
-
-
Field Detail
-
libraryName
protected final String libraryName
-
-
Constructor Detail
-
JavaHostLibrary
public JavaHostLibrary(String libraryName)
-
-
Method Detail
-
libraryName
public final String libraryName()
- Specified by:
libraryNamein interfaceHostLibrary
-
getHostPackage
public final HostPackage getHostPackage(String packageName)
- Specified by:
getHostPackagein interfaceHostLibrary
-
hostPackages
public final Collection<HostPackage> hostPackages()
- Specified by:
hostPackagesin interfaceHostLibrary
-
getHostType
public final HostType<?> getHostType(String typeName)
- Specified by:
getHostTypein interfaceHostLibrary
-
getHostType
public final HostType<?> getHostType(Class<?> typeClass)
- Specified by:
getHostTypein interfaceHostLibrary
-
hostTypes
public Collection<HostType<?>> hostTypes()
- Specified by:
hostTypesin interfaceHostLibrary
-
addHostPackage
public void addHostPackage(HostPackage hostPackage)
-
addHostType
public void addHostType(HostType<?> hostType)
-
-