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.


Nested Class Summary
static class Template.Duck
           
static class Template.TemplateResolver
           
 
Method Summary
 TemplateIndex byName(String name)
           
 List<TemplateIndex> getIndexes()
           
 List<org.jvnet.hk2.config.types.Property> getProperties()
           
 VirtUser getUser()
          Defines the user identify to be used to run anything on this template.
 Virtualization getVirtualization()
          Returns the virtualization technology used by this template
 void setName(String name)
           
 void setUser(VirtUser user)
           
 
Methods inherited from interface org.glassfish.api.admin.config.Named
getName
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Method Detail

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.