com.sun.enterprise.config.serverbeans
Interface Configs

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface Configs
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable


Nested Class Summary
static class Configs.Duck
           
 
Method Summary
 java.util.List<Config> getConfig()
          Gets the value of the config property.
 Config getConfigByName(java.lang.String name)
           
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getConfig

java.util.List<Config> getConfig()
Gets the value of the config property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the config property.

For example, to add a new item, do as follows:

    getConfig().add(newItem);
 

Objects of the following type(s) are allowed in the list Config


getConfigByName

@DuckTyped
Config getConfigByName(java.lang.String name)


Copyright © 2012 GlassFish Community. All Rights Reserved.