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