org.glassfish.virtualization.config
Interface Template
- All Superinterfaces:
- org.jvnet.hk2.config.ConfigBeanProxy, Named
public interface Template
- extends org.jvnet.hk2.config.ConfigBeanProxy, Named
Configuration of a template, for now only its name. Will need to be refined.
| Methods inherited from interface org.glassfish.api.admin.config.Named |
getName |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
createChild, deepCopy, getParent, getParent |
setName
void setName(String name)
- Specified by:
setName in interface Named
getIndexes
List<TemplateIndex> getIndexes()
getUser
VirtUser getUser()
- Defines the user identify to be used to run anything on this template.
If not defined, the target machine user's name will be used.
- Returns:
- the template user information
- See Also:
ServerPoolConfig.getUser()
setUser
void setUser(VirtUser user)
getProperties
List<org.jvnet.hk2.config.types.Property> getProperties()
byName
@DuckTyped
TemplateIndex byName(String name)
getVirtualization
@DuckTyped
Virtualization getVirtualization()
- Returns the virtualization technology used by this template
- Returns:
- the
Virtualization instance
Copyright © 2012. All Rights Reserved.