com.sun.enterprise.config.serverbeans
Interface Engine

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

public interface Engine
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag


Nested Class Summary
static class Engine.Duck
           
 
Method Summary
 ApplicationConfig getApplicationConfig()
           
 List<ApplicationConfig> getApplicationConfigs()
           
 String getDescription()
          Gets the value of the description property.
 List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 String getSniffer()
          Gets the value of the sniffer property.
<T extends ApplicationConfig>
T
newApplicationConfig(Class<T> configType)
          Creates a new instance of the specified type of app config.
 void setApplicationConfig(ApplicationConfig config)
           
 void setDescription(String value)
          Sets the value of the description property.
 void setSniffer(String value)
          Sets the value of the sniffer property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getSniffer

@NotNull
String getSniffer()
Gets the value of the sniffer property.

Returns:
possible object is String

setSniffer

void setSniffer(String value)
                throws PropertyVetoException
Sets the value of the sniffer property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(String value)
                    throws PropertyVetoException
Sets the value of the description property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getApplicationConfigs

List<ApplicationConfig> getApplicationConfigs()

getApplicationConfig

@DuckTyped
ApplicationConfig getApplicationConfig()

setApplicationConfig

@DuckTyped
void setApplicationConfig(ApplicationConfig config)

newApplicationConfig

@DuckTyped
<T extends ApplicationConfig> T newApplicationConfig(Class<T> configType)
                                                 throws org.jvnet.hk2.config.TransactionFailure
Creates a new instance of the specified type of app config.

Type Parameters:
T - stands for the specific type required
Parameters:
configType - the Class for the type required
Returns:
new instance of the specified type of ApplicationConfig
Throws:
org.jvnet.hk2.config.TransactionFailure

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.