|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainConfig
Configuration for the <domain> element.
All configuration resides in a tree rooted at this .
Field Summary | |
---|---|
static String |
J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType() . |
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess |
---|
PROPERTY_PREFIX |
Fields inherited from interface com.sun.appserv.management.config.SystemPropertiesAccess |
---|
SYSTEM_PROPERTY_PREFIX |
Fields inherited from interface com.sun.appserv.management.config.AMXConfig |
---|
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE |
Fields inherited from interface com.sun.appserv.management.base.AMX |
---|
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
Fields inherited from interface com.sun.appserv.management.base.Container |
---|
ATTR_CONTAINEE_J2EE_TYPES |
Method Summary | |
---|---|
AdminObjectResourceConfig |
createAdminObjectResourceConfig(String jndiName,
String resType,
String resAdapter,
Map<String,String> optional)
Creates a new <admin-object-resource>. |
ClusterConfig |
createClusterConfig(String name,
Map<String,String> optional)
Create a new ClusterConfig which refers to a copy of the default-config. |
ClusterConfig |
createClusterConfig(String name,
String referencedConfigName,
Map<String,String> optional)
Create a new ClusterConfig. |
ClusteredServerConfig |
createClusteredServerConfig(String name,
String clusterName,
String nodeAgentName,
Map<String,String> optional)
Creates a new <server> that belongs to a cluster. |
ConfigConfig |
createConfigConfig(String name,
Map<String,String> optional)
Create a new <config> element. |
ConnectorConnectionPoolConfig |
createConnectorConnectionPoolConfig(String name,
String resourceAdapterName,
String connectionDefinitionName,
Map<String,String> optional)
Creates a new <connector-connection-pool> Valid keys in optional map include: ConnectorConnectionPoolConfigKeys.STEADY_POOL_SIZE_KEY
ConnectorConnectionPoolConfigKeys.MAX_POOL_SIZE_KEY
ConnectorConnectionPoolConfigKeys.MAX_WAIT_TIME_IN_MILLIS_KEY
ConnectorConnectionPoolConfigKeys.POOL_RESIZE_QUANTITY_KEY
ConnectorConnectionPoolConfigKeys.IDLE_TIMEOUT_IN_SECONDS_KEY
ConnectorConnectionPoolConfigKeys.FAIL_ALL_CONNECTIONS_KEY
ConnectorConnectionPoolConfigKeys.TRANSACTION_SUPPORT_KEY
#TRANSACTION_SUPPORT_KEY
|
ConnectorResourceConfig |
createConnectorResourceConfig(String jndiName,
String poolName,
Map<String,String> optional)
Creates a new <connector-resource> Legal optional keys include: ResourceConfigKeys#ENABLED_KEY |
CustomMBeanConfig |
createCustomMBeanConfig(String name,
String implClassname,
String objectName,
boolean enabled,
Map<String,String> reserved)
Create a new CustomMBeanConfig . |
CustomResourceConfig |
createCustomResourceConfig(String jndiName,
String resType,
String factoryClass,
Map<String,String> optional)
Creates a new custom resource. |
JDBCConnectionPoolConfig |
createJDBCConnectionPoolConfig(String name,
String datasourceClassname,
Map<String,String> optional)
Create a new <jdbc-connection-pool>. |
JDBCConnectionPoolConfig |
createJDBCConnectionPoolConfig(String name,
String connectionValidationMethod,
String datasourceClassname,
boolean failAllConnections,
int idleTimeoutSeconds,
boolean connectionValidationRequired,
boolean isolationLevelGuaranteed,
String transactionIsolationLevel,
int maxPoolSize,
int maxWaitTimeMillis,
int poolResizeQuantity,
String resType,
int steadyPoolSize,
String databaseName,
String databaseUserName,
String databasePassword,
Map<String,String> reservedForFutureUse)
Create a new <jdbc-connection-pool>. |
JDBCResourceConfig |
createJDBCResourceConfig(String jndiName,
String poolName,
Map<String,String> optional)
Create a new <jdbc-resource> Optional parameters include: ResourceConfigKeys.ENABLED_KEY
|
JNDIResourceConfig |
createJNDIResourceConfig(String jndiName,
String jndiLookupName,
String resType,
String factoryClass,
Map<String,String> optional)
Creates a new <external-jndi-resource>. |
LBConfig |
createLBConfig(String name,
Map<String,String> params)
Creates a new lb-config. |
LifecycleModuleConfig |
createLifecycleModuleConfig(String name,
String description,
String classname,
String classpath,
String loadOrder,
boolean isFailureFatal,
boolean enabled,
Map<String,String> reserved)
Create a new lifecycle module. |
LoadBalancerConfig |
createLoadBalancerConfig(String name,
String lbConfigName,
boolean autoApplyEnabled,
Map<String,String> optional)
Create a new LoadBalancer. |
MailResourceConfig |
createMailResourceConfig(String jndiName,
String host,
String user,
String from,
Map<String,String> optional)
Create a new <mail-resource>. |
PersistenceManagerFactoryResourceConfig |
createPersistenceManagerFactoryResourceConfig(String jndiName,
Map<String,String> optional)
Create a new persistence manager factory resource. |
ResourceAdapterConfig |
createResourceAdapterConfig(String resourceAdapterName,
Map<String,String> optional)
Legal options include: ResourceAdapterConfigKeys.THREAD_POOL_IDS_KEY
|
StandaloneServerConfig |
createStandaloneServerConfig(String name,
String nodeAgentName,
String configName,
Map<String,String> optional)
Create a new <server> given an existing config and node-agent. |
Map<String,AdminObjectResourceConfig> |
getAdminObjectResourceConfigMap()
Calls Container.getContaineeMap( XTypes.ADMIN_OBJECT_RESOURCE_CONFIG ). |
Map<String,AppClientModuleConfig> |
getAppClientModuleConfigMap()
|
String |
getApplicationRoot()
|
Map<String,ClusterConfig> |
getClusterConfigMap()
Calls Container.getContaineeMap( XTypes.CLUSTER_CONFIG ). |
Map<String,ClusteredServerConfig> |
getClusteredServerConfigMap()
Calls Container.getContaineeMap( XTypes.CLUSTERED_SERVER_CONFIG ). |
Map<String,ConfigConfig> |
getConfigConfigMap()
Calls Container.getContaineeMap( XTypes.CONFIG_CONFIG ). |
Map<String,ConnectorConnectionPoolConfig> |
getConnectorConnectionPoolConfigMap()
Calls Container.getContaineeMap( XTypes.CONNECTOR_CONNECTION_POOL_CONFIG ). |
Map<String,ConnectorResourceConfig> |
getConnectorResourceConfigMap()
Calls Container.getContaineeMap( XTypes.CONNECTOR_RESOURCE_CONFIG ). |
Map<String,CustomMBeanConfig> |
getCustomMBeanConfigMap()
|
Map<String,CustomResourceConfig> |
getCustomResourceConfigMap()
Calls Container.getContaineeMap( XTypes.CUSTOM_RESOURCE_CONFIG ). |
Map<String,EJBModuleConfig> |
getEJBModuleConfigMap()
|
Map<String,J2EEApplicationConfig> |
getJ2EEApplicationConfigMap()
|
Map<String,JDBCConnectionPoolConfig> |
getJDBCConnectionPoolConfigMap()
Calls Container.getContaineeMap( XTypes.JDBC_CONNECTION_POOL_CONFIG ). |
Map<String,JDBCResourceConfig> |
getJDBCResourceConfigMap()
Calls Container.getContaineeMap( XTypes.JDBC_RESOURCE_CONFIG ). |
Map<String,JNDIResourceConfig> |
getJNDIResourceConfigMap()
Calls Container.getContaineeMap( XTypes.JNDI_RESOURCE_CONFIG ). |
Map<String,LBConfig> |
getLBConfigMap()
Calls Container.getContaineeMap( XTypes.LB_CONFIG ). |
Map<String,LifecycleModuleConfig> |
getLifecycleModuleConfigMap()
|
Map<String,LoadBalancerConfig> |
getLoadBalancerConfigMap()
Calls Container.getContaineeMap( XTypes.LOAD_BALANCER_CONFIG). |
String |
getLocale()
|
String |
getLogRoot()
|
Map<String,MailResourceConfig> |
getMailResourceConfigMap()
Calls Container.getContaineeMap( XTypes.MAIL_RESOURCE_CONFIG ). |
Map<String,NodeAgentConfig> |
getNodeAgentConfigMap()
Calls Container.getContaineeMap( XTypes.NODE_AGENT_CONFIG ). |
Map<String,PersistenceManagerFactoryResourceConfig> |
getPersistenceManagerFactoryResourceConfigMap()
Calls Container.getContaineeMap( XTypes.PERSISTENCE_MANAGER_FACTORY_RESOURCE_CONFIG ). |
Map<String,RARModuleConfig> |
getRARModuleConfigMap()
|
Map<String,ResourceAdapterConfig> |
getResourceAdapterConfigMap()
Calls Container.getContaineeMap( XTypes.RESOURCE_ADAPTER_CONFIG ). |
ResourceConfig |
getResourceConfig(String name)
Get a ResourceConfig of any kind. |
Map<String,ServerConfig> |
getServerConfigMap()
Combines the results of getStandaloneServerConfigMap() and getClusteredServerConfigMap(). |
Map<String,StandaloneServerConfig> |
getStandaloneServerConfigMap()
Calls Container.getContaineeMap( XTypes.STANDALONE_SERVER_CONFIG ). |
Map<String,WebModuleConfig> |
getWebModuleConfigMap()
|
void |
removeAdminObjectResourceConfig(String jndiName)
Removes an admin object resource. |
void |
removeClusterConfig(String name)
Remove an existing <cluster>. |
void |
removeClusteredServerConfig(String name)
|
void |
removeConfigConfig(String name)
Remove a config. |
void |
removeConnectorConnectionPoolConfig(String name)
Removes a connector connection pool. |
void |
removeConnectorResourceConfig(String jndiName)
Removes a connector resource. |
void |
removeCustomMBeanConfig(String name)
Remove a CustomMBeanConfig. |
void |
removeCustomResourceConfig(String name)
Removes a custom resource. |
void |
removeJDBCConnectionPoolConfig(String jdbcConnectionPoolName)
Remove the <jdbc-connection-pool>. |
void |
removeJDBCResourceConfig(String jndiName)
Removes a jdbc resource. |
void |
removeJNDIResourceConfig(String jndiName)
Remove the <external-jndi-resource>. |
void |
removeLBConfig(String name)
Removes a lb-config. |
void |
removeLifecycleModuleConfig(String name)
Removes an existing lifecycle module. |
void |
removeLoadBalancerConfig(String name)
Remove an existing <LoadBalancerConfig>. |
void |
removeMailResourceConfig(String jndiName)
Removes a mail resource. |
void |
removePersistenceManagerFactoryResourceConfig(String jndiName)
Removes a persistence manager factory resource. |
void |
removeResourceAdapterConfig(String resourceAdapterName)
|
void |
removeStandaloneServerConfig(String name)
|
void |
setApplicationRoot(String value)
|
void |
setLocale(String value)
|
void |
setLogRoot(String value)
|
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess |
---|
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue |
Methods inherited from interface com.sun.appserv.management.config.SystemPropertiesAccess |
---|
createSystemProperty, existsSystemProperty, getSystemProperties, getSystemPropertyNames, getSystemPropertyValue, removeSystemProperty, setSystemPropertyValue |
Methods inherited from interface com.sun.appserv.management.base.AMX |
---|
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS |
Methods inherited from interface javax.management.NotificationEmitter |
---|
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
---|
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel |
Methods inherited from interface com.sun.appserv.management.base.Container |
---|
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap |
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover |
---|
removeConfig |
Field Detail |
---|
static final String J2EE_TYPE
AMX.getJ2EEType()
.
Method Detail |
---|
StandaloneServerConfig createStandaloneServerConfig(String name, String nodeAgentName, String configName, Map<String,String> optional)
name
- the name of the server to createnodeAgentName
- the node agent that the server will referenceconfigName
- the config that the server will referenceoptional
- properties for this new server
This is a Map object consisting of key/value for a given property, that can be applied to
this server instance. The Map may also contain additional properties that can be applied to this server instance.
Note that Properties that relate to ports of listeners are stored as system-properties and have specific key names and must be specified to override values defined in the config to any of the relevant ports - this is particularly required when the instance being created is on the same machine as other instances in the domain.
Legal property keys are those found in ServerConfigKeys
.
Map<String,NodeAgentConfig> getNodeAgentConfigMap()
Container.getContaineeMap(java.lang.String)
Map<String,ConfigConfig> getConfigConfigMap()
Container.getContaineeMap(java.lang.String)
ConfigConfig createConfigConfig(String name, Map<String,String> optional)
A new config is created by copying an existing one. Unless a specific
config is specified via ConfigConfigKeys.SRC_CONFIG_NAME_KEY
,
the default config as given by ConfigConfigKeys.DEFAULT_SRC_CONFIG_NAME
will be copied.
Depending on the context in which the config is to be used, it may or may not conflict with values found in other configs.
name
- name of the <config>optional
- optional attributes for config creation
ConfigConfigKeys
void removeConfigConfig(String name)
name
- The config name.Map<String,StandaloneServerConfig> getStandaloneServerConfigMap()
Container.getContaineeMap(java.lang.String)
Map<String,ClusteredServerConfig> getClusteredServerConfigMap()
Container.getContaineeMap(java.lang.String)
void removeStandaloneServerConfig(String name)
void removeClusteredServerConfig(String name)
ClusteredServerConfig createClusteredServerConfig(String name, String clusterName, String nodeAgentName, Map<String,String> optional)
name
- Name of the server.nodeAgentName
- Name of the node agent that should manage this instanceclusterName
- Name of the cluster to which this server should belong.
Note that it is prefereable to pass in an existing nodeagent's name. A non-existent nodeagent name can be passed in but this nodeagent's hostname attribute will be marked as "localhost" as an assumption is made that the nodeagent is local. The nodeagent should be created through the create-node-agent command using the Command Line Interface(CLI) on the machine where this instance is intended to reside after this create() operation. Prior to starting this instance, that nodeagent will have to be started using the CLI command start-node-agent.
optional
- Attributes and properties for this new server.
Note that Properties that relate to ports of listeners are stored as system-properties and have specific key names and must be specified to override values defined in the config to any of the relevant ports - this is particularly required when the instance being created is on the same machine as other instances in the domain.
Legal keys are those defined in ServerConfigKeys
.
Map<String,ServerConfig> getServerConfigMap()
Container.getContaineeMap(java.lang.String)
Map<String,ClusterConfig> getClusterConfigMap()
Container.getContaineeMap(java.lang.String)
ClusterConfig createClusterConfig(String name, String referencedConfigName, Map<String,String> optional)
name
- the name of the cluster to create.referencedConfigName
- the non-null name of the config to reference.optional
- optional values, properties only
ClusterConfig createClusterConfig(String name, Map<String,String> optional)
name
- the name of the cluster to create.optional
- optional values, properties only
void removeClusterConfig(String name)
name
- the name of the cluster to remove.Map<String,LoadBalancerConfig> getLoadBalancerConfigMap()
Container.getContaineeMap(java.lang.String)
LoadBalancerConfig createLoadBalancerConfig(String name, String lbConfigName, boolean autoApplyEnabled, Map<String,String> optional)
name
- the name of the load balancer to createlbConfigName
- the non-null name of the lb config to reference.autoApplyEnabled
- flag to indicate if the LB changes are pushed
immediately to the physical load balancer. Defaults to falseoptional
- optional values, properties only
void removeLoadBalancerConfig(String name)
name
- the name of the load-balancer to remove.Map<String,LBConfig> getLBConfigMap()
Container.getContaineeMap(java.lang.String)
LBConfig createLBConfig(String name, Map<String,String> params)
LBConfigKeys.RESPONSE_TIMEOUT_IN_SECONDS_KEY
LBConfigKeys.HTTPS_ROUTING_KEY
LBConfigKeys.RELOAD_POLL_INTERVAL_IN_SECONDS_KEY
LBConfigKeys.MONITORING_ENABLED_KEY
LBConfigKeys.ROUTE_COOKIE_ENABLED_KEY
name
- The name of the load balancer configuration.params
- Remaining attributes for creation of a new lb-config.
LBConfigKeys
void removeLBConfig(String name)
name
- The name of the load balancer configuration.String getApplicationRoot()
void setApplicationRoot(String value)
String getLocale()
void setLocale(String value)
String getLogRoot()
void setLogRoot(String value)
Map<String,CustomResourceConfig> getCustomResourceConfigMap()
Container.getContaineeMap(java.lang.String)
CustomResourceConfig createCustomResourceConfig(String jndiName, String resType, String factoryClass, Map<String,String> optional)
jndiName
- resType
- factoryClass
- optional
- optional Attributes (may be null )
void removeCustomResourceConfig(String name)
name
- The name of the custom resource.Map<String,JNDIResourceConfig> getJNDIResourceConfigMap()
Container.getContaineeMap(java.lang.String)
JNDIResourceConfig createJNDIResourceConfig(String jndiName, String jndiLookupName, String resType, String factoryClass, Map<String,String> optional)
jndiName
- jndiLookupName
- resType
- factoryClass
- optional
- optional Attributes (may be null )
void removeJNDIResourceConfig(String jndiName)
jndiName
- The jndi name of the external jndi resource
to be removed.Map<String,PersistenceManagerFactoryResourceConfig> getPersistenceManagerFactoryResourceConfigMap()
Container.getContaineeMap(java.lang.String)
PersistenceManagerFactoryResourceConfig createPersistenceManagerFactoryResourceConfig(String jndiName, Map<String,String> optional)
PersistenceManagerFactoryResourceConfigKeys.FACTORY_CLASS_KEY
PersistenceManagerFactoryResourceConfigKeys.JDBC_RESOURCE_JNDI_NAME_KEY
ResourceConfigKeys.ENABLED_KEY
jndiName
- optional
- optional Attributes (may be null )
PersistenceManagerFactoryResourceConfigKeys
void removePersistenceManagerFactoryResourceConfig(String jndiName)
jndiName
- Map<String,JDBCResourceConfig> getJDBCResourceConfigMap()
Container.getContaineeMap(java.lang.String)
JDBCResourceConfig createJDBCResourceConfig(String jndiName, String poolName, Map<String,String> optional)
jndiName
- poolName
- optional
- optional Attributes (may be null )
void removeJDBCResourceConfig(String jndiName)
jndiName
- Map<String,JDBCConnectionPoolConfig> getJDBCConnectionPoolConfigMap()
Container.getContaineeMap(java.lang.String)
JDBCConnectionPoolConfig createJDBCConnectionPoolConfig(String name, String connectionValidationMethod, String datasourceClassname, boolean failAllConnections, int idleTimeoutSeconds, boolean connectionValidationRequired, boolean isolationLevelGuaranteed, String transactionIsolationLevel, int maxPoolSize, int maxWaitTimeMillis, int poolResizeQuantity, String resType, int steadyPoolSize, String databaseName, String databaseUserName, String databasePassword, Map<String,String> reservedForFutureUse)
name
- name of the <jdbc-connection-pool>connectionValidationMethod
- datasourceClassname
- failAllConnections
- idleTimeoutSeconds
- connectionValidationRequired
- isolationLevelGuaranteed
- transactionIsolationLevel
- maxPoolSize
- maxWaitTimeMillis
- poolResizeQuantity
- resType
- steadyPoolSize
- databaseName
- databaseUserName
- databasePassword
- reservedForFutureUse
- reserved for future use
JDBCConnectionPoolConfig createJDBCConnectionPoolConfig(String name, String datasourceClassname, Map<String,String> optional)
JDBCConnectionPoolConfigKeys.CONNECTION_VALIDATION_METHOD_KEY
JDBCConnectionPoolConfigKeys.VALIDATION_TABLE_NAME_KEY
JDBCConnectionPoolConfigKeys.FAIL_ALL_CONNECTIONS_KEY
JDBCConnectionPoolConfigKeys.IDLE_TIMEOUT_IN_SECONDS_KEY
JDBCConnectionPoolConfigKeys.IS_CONNECTION_VALIDATION_REQUIRED_KEY
JDBCConnectionPoolConfigKeys.IS_ISOLATION_LEVEL_GUARANTEED_KEY
JDBCConnectionPoolConfigKeys.TRANSACTION_ISOLATION_LEVEL_KEY
JDBCConnectionPoolConfigKeys.MAX_POOL_SIZE_KEY
JDBCConnectionPoolConfigKeys.MAX_WAIT_TIME_MILLIS_KEY
JDBCConnectionPoolConfigKeys.POOL_RESIZE_QUANTITY_KEY
JDBCConnectionPoolConfigKeys.RES_TYPE_KEY
JDBCConnectionPoolConfigKeys.STEADY_POOL_SIZE_KEY
JDBCConnectionPoolConfigKeys.DATABASE_NAME_KEY
JDBCConnectionPoolConfigKeys.DATABASE_USER_KEY
JDBCConnectionPoolConfigKeys.DATABASE_PASSWORD_KEY
name
- name of the <jdbc-connection-pool>datasourceClassname
- optional
- optional parameters
void removeJDBCConnectionPoolConfig(String jdbcConnectionPoolName)
jdbcConnectionPoolName
- Map<String,ConnectorResourceConfig> getConnectorResourceConfigMap()
Container.getContaineeMap(java.lang.String)
ConnectorResourceConfig createConnectorResourceConfig(String jndiName, String poolName, Map<String,String> optional)
jndiName
- poolName
- optional
- optional parameters (may be null).void removeConnectorResourceConfig(String jndiName)
jndiName
- Map<String,ConnectorConnectionPoolConfig> getConnectorConnectionPoolConfigMap()
Container.getContaineeMap(java.lang.String)
ConnectorConnectionPoolConfig createConnectorConnectionPoolConfig(String name, String resourceAdapterName, String connectionDefinitionName, Map<String,String> optional)
ConnectorConnectionPoolConfigKeys.STEADY_POOL_SIZE_KEY
ConnectorConnectionPoolConfigKeys.MAX_POOL_SIZE_KEY
ConnectorConnectionPoolConfigKeys.MAX_WAIT_TIME_IN_MILLIS_KEY
ConnectorConnectionPoolConfigKeys.POOL_RESIZE_QUANTITY_KEY
ConnectorConnectionPoolConfigKeys.IDLE_TIMEOUT_IN_SECONDS_KEY
ConnectorConnectionPoolConfigKeys.FAIL_ALL_CONNECTIONS_KEY
ConnectorConnectionPoolConfigKeys.TRANSACTION_SUPPORT_KEY
#TRANSACTION_SUPPORT_KEY
name
- pool name.resourceAdapterName
- connectionDefinitionName
- unique name, identifying one
connection-definition in a Resource Adapter.optional
-
ConnectorConnectionPoolConfigKeys
void removeConnectorConnectionPoolConfig(String name)
name
- pool name.Map<String,AdminObjectResourceConfig> getAdminObjectResourceConfigMap()
Container.getContaineeMap(java.lang.String)
AdminObjectResourceConfig createAdminObjectResourceConfig(String jndiName, String resType, String resAdapter, Map<String,String> optional)
jndiName
- JNDI name of the resource.resType
- resAdapter
- Name of the inbound resource adapter.optional
- optional Attributes (may be null )
void removeAdminObjectResourceConfig(String jndiName)
jndiName
- JNDI name of the resource.Map<String,ResourceAdapterConfig> getResourceAdapterConfigMap()
Container.getContaineeMap(java.lang.String)
ResourceAdapterConfig createResourceAdapterConfig(String resourceAdapterName, Map<String,String> optional)
void removeResourceAdapterConfig(String resourceAdapterName)
Map<String,MailResourceConfig> getMailResourceConfigMap()
Container.getContaineeMap(java.lang.String)
MailResourceConfig createMailResourceConfig(String jndiName, String host, String user, String from, Map<String,String> optional)
MailResourceConfigKeys.STORE_PROTOCOL_KEY
MailResourceConfigKeys.STORE_PROTOCOL_CLASS_KEY
MailResourceConfigKeys.TRANSPORT_PROTOCOL_KEY
MailResourceConfigKeys.TRANSPORT_PROTOCOL_CLASS_KEY
MailResourceConfigKeys.DEBUG_KEY
jndiName
- host
- user
- from
- optional
-
MailResourceConfigKeys
void removeMailResourceConfig(String jndiName)
jndiName
- Map<String,J2EEApplicationConfig> getJ2EEApplicationConfigMap()
J2EEApplicationConfig
getEJBModuleConfigMap()
,
getWebModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
Map<String,EJBModuleConfig> getEJBModuleConfigMap()
EJBModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
Map<String,WebModuleConfig> getWebModuleConfigMap()
WebModuleConfig
.getJ2EEApplicationConfigMap()
,
getEJBModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
Map<String,RARModuleConfig> getRARModuleConfigMap()
RARModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getEJBModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getLifecycleModuleConfigMap()
Map<String,AppClientModuleConfig> getAppClientModuleConfigMap()
AppClientModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getEJBModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
Map<String,LifecycleModuleConfig> getLifecycleModuleConfigMap()
LifecycleModuleConfig
.LifecycleModuleConfig createLifecycleModuleConfig(String name, String description, String classname, String classpath, String loadOrder, boolean isFailureFatal, boolean enabled, Map<String,String> reserved)
com.sun.appserv.server.LifecycleListener
,
which is outside the scope of AMX, see the product
documentation.
The 'loadOrder' parameter must be a positive integer value (eg >= 1) can be used to force the order in which deployed lifecycle modules are loaded at server start up. Smaller numbered modules get loaded sooner. Order is unspecified if two or more lifecycle modules have the same load-order value.
If 'isFailureFatal' is true,server startup will fail when this module does not load properly.
name
- the name for the new lifecycle moduledescription
- optional descriptionclassname
- the classname associated with this lifecycle moduleclasspath
- optional additioinal classpathloadOrder
- integer value to force loading order of LifecycleModulesisFailureFatal
- if true, server startup will fail when
this module does not load properly.enabled
- whether to load the module at startup
void removeLifecycleModuleConfig(String name)
name
- the name of the lifecycle module to be removed.ResourceConfig getResourceConfig(String name)
name
- CustomMBeanConfig createCustomMBeanConfig(String name, String implClassname, String objectName, boolean enabled, Map<String,String> reserved)
CustomMBeanConfig
.
The 'implClassname' must specify a valid classname. If invalid,
the CustomMBeanConfig will still be created, but of course the MBean
will not be loaded.
Any number of properties may be included by adding them to the
Map 'optional'. See PropertiesAccess
for details.
See CustomMBeanConfig
for details on valid values
for the 'objectNameProperties' parameter, and for details on
the ObjectName with which the MBean will be registered.
Questions
What are the resulting ObjectNames produced by the above, and how are they obtained?
name
- the display name, will be the name used in the ObjectName 'name' propertyimplClassname
- the implementing classobjectName
- the partial ObjectName used when registering the MBean
new moduleenabled
- whether the MBean should loadreserved
- reservedvoid removeCustomMBeanConfig(String name)
Questions
name
- name as returned by AMX.getName()
Map<String,CustomMBeanConfig> getCustomMBeanConfigMap()
CustomMBeanConfig
.
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.