|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Config
The configuration defines the configuration of a server instance that can be shared by other server instances. The availability-service and are SE/EE only
| Nested Class Summary | |
|---|---|
static class |
Config.Duck
|
| Method Summary | ||
|---|---|---|
com.sun.grizzly.config.dom.NetworkListener |
getAdminListener()
|
|
AdminService |
getAdminService()
Gets the value of the adminService property. |
|
AlertService |
getAlertService()
Gets the value of the alertService property. |
|
AvailabilityService |
getAvailabilityService()
Gets the value of the availabilityService property. |
|
ConnectorService |
getConnectorService()
Gets the value of the connectorService property. |
|
List<Container> |
getContainers()
Get the configuration for other types of containers. |
|
DiagnosticService |
getDiagnosticService()
Gets the value of the diagnosticService property. |
|
String |
getDynamicReconfigurationEnabled()
Gets the value of the dynamicReconfigurationEnabled property. |
|
EjbContainer |
getEjbContainer()
Gets the value of the ejbContainer property. |
|
|
getExtensionByType(Class<T> type)
Return an extension configuration given the extension type. |
|
GroupManagementService |
getGroupManagementService()
Gets the value of the groupManagementService property. |
|
HttpService |
getHttpService()
Gets the value of the httpService property. |
|
IiopService |
getIiopService()
Gets the value of the iiopService property. |
|
JavaConfig |
getJavaConfig()
Gets the value of the javaConfig property. |
|
JmsService |
getJmsService()
Gets the value of the jmsService property. |
|
Map<String,String> |
getLoggingProperties()
|
|
LogService |
getLogService()
Gets the value of the logService property. |
|
ManagementRules |
getManagementRules()
Gets the value of the managementRules property. |
|
MdbContainer |
getMdbContainer()
Gets the value of the mdbContainer property. |
|
MonitoringService |
getMonitoringService()
Gets the value of the monitoringService property. |
|
String |
getName()
Name of the configured object |
|
com.sun.grizzly.config.dom.NetworkConfig |
getNetworkConfig()
Gets the value of the networkConfig property. |
|
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per PropertyBag |
|
SecurityService |
getSecurityService()
Gets the value of the securityService property. |
|
List<SystemProperty> |
getSystemProperty()
Gets the value of the systemProperty property. |
|
ThreadPools |
getThreadPools()
Gets the value of the threadPools property. |
|
TransactionService |
getTransactionService()
Gets the value of the transactionService property. |
|
WebContainer |
getWebContainer()
Gets the value of the webContainer property. |
|
void |
setAdminService(AdminService value)
Sets the value of the adminService property. |
|
void |
setAlertService(AlertService value)
Sets the value of the alertService property. |
|
void |
setAvailabilityService(AvailabilityService value)
Sets the value of the availabilityService property. |
|
void |
setConnectorService(ConnectorService value)
Sets the value of the connectorService property. |
|
void |
setDiagnosticService(DiagnosticService value)
Sets the value of the diagnosticService property. |
|
void |
setDynamicReconfigurationEnabled(String value)
Sets the value of the dynamicReconfigurationEnabled property. |
|
void |
setEjbContainer(EjbContainer value)
Sets the value of the ejbContainer property. |
|
void |
setGroupManagementService(GroupManagementService value)
Sets the value of the groupManagementService property. |
|
void |
setHttpService(HttpService value)
Sets the value of the httpService property. |
|
void |
setIiopService(IiopService value)
Sets the value of the iiopService property. |
|
void |
setJavaConfig(JavaConfig value)
Sets the value of the javaConfig property. |
|
void |
setJmsService(JmsService value)
Sets the value of the jmsService property. |
|
String |
setLoggingProperty(String property,
String value)
|
|
void |
setLogService(LogService value)
Sets the value of the logService property. |
|
void |
setManagementRules(ManagementRules value)
Sets the value of the managementRules property. |
|
void |
setMdbContainer(MdbContainer value)
Sets the value of the mdbContainer property. |
|
void |
setMonitoringService(MonitoringService value)
Sets the value of the monitoringService property. |
|
void |
setName(String value)
|
|
void |
setNetworkConfig(com.sun.grizzly.config.dom.NetworkConfig value)
Sets the value of the networkConfig property. |
|
void |
setSecurityService(SecurityService value)
Sets the value of the securityService property. |
|
void |
setThreadPools(ThreadPools value)
Sets the value of the threadPools property. |
|
void |
setTransactionService(TransactionService value)
Sets the value of the transactionService property. |
|
void |
setWebContainer(WebContainer value)
Sets the value of the webContainer property. |
|
Map<String,String> |
updateLoggingProperties(Map<String,String> properties)
|
|
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
|---|
injectedInto |
| Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag |
|---|
getProperty, getPropertyValue, getPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.SystemPropertyBag |
|---|
containsProperty, getPropertyValue, getSystemProperty, getSystemPropertyValue |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
@NotNull
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
message="{config.invalid.name}",
payload=Config.class)
String getName()
getName in interface Named
void setName(String value)
throws PropertyVetoException
setName in interface NamedPropertyVetoExceptionString getDynamicReconfigurationEnabled()
String
void setDynamicReconfigurationEnabled(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoExceptioncom.sun.grizzly.config.dom.NetworkConfig getNetworkConfig()
NetworkConfig
void setNetworkConfig(com.sun.grizzly.config.dom.NetworkConfig value)
throws PropertyVetoException
value - allowed object is NetworkConfig
PropertyVetoExceptionHttpService getHttpService()
HttpService
void setHttpService(HttpService value)
throws PropertyVetoException
value - allowed object is
HttpService
PropertyVetoException@NotNull IiopService getIiopService()
IiopService
void setIiopService(IiopService value)
throws PropertyVetoException
value - allowed object is
IiopService
PropertyVetoExceptionAdminService getAdminService()
AdminService
void setAdminService(AdminService value)
throws PropertyVetoException
value - allowed object is
AdminService
PropertyVetoException@NotNull ConnectorService getConnectorService()
ConnectorService
void setConnectorService(ConnectorService value)
throws PropertyVetoException
value - allowed object is
ConnectorService
PropertyVetoException@NotNull WebContainer getWebContainer()
WebContainer
void setWebContainer(WebContainer value)
throws PropertyVetoException
value - allowed object is
WebContainer
PropertyVetoExceptionEjbContainer getEjbContainer()
EjbContainer
void setEjbContainer(EjbContainer value)
throws PropertyVetoException
value - allowed object is
EjbContainer
PropertyVetoException@NotNull MdbContainer getMdbContainer()
MdbContainer
void setMdbContainer(MdbContainer value)
throws PropertyVetoException
value - allowed object is
MdbContainer
PropertyVetoException@NotNull JmsService getJmsService()
JmsService
void setJmsService(JmsService value)
throws PropertyVetoException
value - allowed object is
JmsService
PropertyVetoExceptionLogService getLogService()
LogService
void setLogService(LogService value)
throws PropertyVetoException
value - allowed object is
LogService
PropertyVetoExceptionSecurityService getSecurityService()
SecurityService
void setSecurityService(SecurityService value)
throws PropertyVetoException
value - allowed object is
SecurityService
PropertyVetoExceptionTransactionService getTransactionService()
TransactionService
void setTransactionService(TransactionService value)
throws PropertyVetoException
value - allowed object is
TransactionService
PropertyVetoException@NotNull MonitoringService getMonitoringService()
MonitoringService
void setMonitoringService(MonitoringService value)
throws PropertyVetoException
value - allowed object is
MonitoringService
PropertyVetoExceptionDiagnosticService getDiagnosticService()
DiagnosticService
void setDiagnosticService(DiagnosticService value)
throws PropertyVetoException
value - allowed object is
DiagnosticService
PropertyVetoExceptionJavaConfig getJavaConfig()
JavaConfig
void setJavaConfig(JavaConfig value)
throws PropertyVetoException
value - allowed object is
JavaConfig
PropertyVetoExceptionAvailabilityService getAvailabilityService()
AvailabilityService
void setAvailabilityService(AvailabilityService value)
throws PropertyVetoException
value - allowed object is
AvailabilityService
PropertyVetoExceptionThreadPools getThreadPools()
ThreadPools
void setThreadPools(ThreadPools value)
throws PropertyVetoException
value - allowed object is
ThreadPools
PropertyVetoExceptionAlertService getAlertService()
AlertService
void setAlertService(AlertService value)
throws PropertyVetoException
value - allowed object is
AlertService
PropertyVetoException@NotNull GroupManagementService getGroupManagementService()
GroupManagementService
void setGroupManagementService(GroupManagementService value)
throws PropertyVetoException
value - allowed object is
GroupManagementService
PropertyVetoExceptionManagementRules getManagementRules()
ManagementRules
void setManagementRules(ManagementRules value)
throws PropertyVetoException
value - allowed object is
ManagementRules
PropertyVetoException
@ToDo(priority=IMPORTANT,
details="Any more legal system properties?")
@PropertiesDesc(systemProperties=true,
props={@PropertyDesc(name="HTTP_LISTENER_PORT",defaultValue="8080",dataType=Port.class),@PropertyDesc(name="HTTP_SSL_LISTENER_PORT",defaultValue="1043",dataType=Port.class),@PropertyDesc(name="HTTP_ADMIN_LISTENER_PORT",defaultValue="4848",dataType=Port.class),@PropertyDesc(name="IIOP_LISTENER_PORT",defaultValue="3700",dataType=Port.class),@PropertyDesc(name="IIOP_SSL_LISTENER_PORT",defaultValue="1060",dataType=Port.class),@PropertyDesc(name="IIOP_SSL_MUTUALAUTH_PORT",defaultValue="1061",dataType=Port.class),@PropertyDesc(name="JMX_SYSTEM_CONNECTOR_PORT",defaultValue="8686",dataType=Port.class)})
List<SystemProperty> getSystemProperty()
set method for the systemProperty property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SystemProperty
getSystemProperty in interface SystemPropertyBag@DuckTyped Map<String,String> getLoggingProperties()
@DuckTyped
String setLoggingProperty(String property,
String value)
@DuckTyped Map<String,String> updateLoggingProperties(Map<String,String> properties)
@DuckTyped com.sun.grizzly.config.dom.NetworkListener getAdminListener()
@DuckTyped <T extends ConfigExtension> T getExtensionByType(Class<T> type)
T - interface subclassing the ConfigExtension typetype - type of the requested extension configuration
@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBag
getProperty in interface org.jvnet.hk2.config.types.PropertyBagList<Container> getContainers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||