|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configuration for the <domain> element.
All configuration resides in a tree rooted at this .
Field Summary | |
static java.lang.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, NAME_KEY, NO_NAME, NULL_NAME |
Fields inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
LOG_RECORD_KEY, LOG_RECORD_NOTIFICATION_TYPE |
Fields inherited from interface com.sun.appserv.management.base.Container |
ATTR_CONTAINEE_J2EE_TYPES |
Method Summary | |
AdminObjectResourceConfig |
createAdminObjectResourceConfig(java.lang.String jndiName,
java.lang.String resType,
java.lang.String resAdapter,
java.util.Map optional)
Creates a new <admin-object-resource>. |
ClusterConfig |
createClusterConfig(java.lang.String name,
java.util.Map optional)
Create a new ClusterConfig which refers to a copy of the default-config. |
ClusterConfig |
createClusterConfig(java.lang.String name,
java.lang.String referencedConfigName,
java.util.Map optional)
Create a new ClusterConfig. |
ClusteredServerConfig |
createClusteredServerConfig(java.lang.String name,
java.lang.String clusterName,
java.lang.String nodeAgentName,
java.util.Map optional)
Creates a new <server> that belongs to a cluster. |
ConfigConfig |
createConfigConfig(java.lang.String name,
java.util.Map optional)
Create a new <config> element. |
ConnectorConnectionPoolConfig |
createConnectorConnectionPoolConfig(java.lang.String name,
java.lang.String resourceAdapterName,
java.lang.String connectionDefinitionName,
java.util.Map 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(java.lang.String jndiName,
java.lang.String poolName,
java.util.Map optional)
Creates a new <connector-resource> Legal optional keys include: ResourceConfigKeys#ENABLED_KEY |
CustomResourceConfig |
createCustomResourceConfig(java.lang.String jndiName,
java.lang.String resType,
java.lang.String factoryClass,
java.util.Map optional)
Creates a new custom resource. |
JDBCConnectionPoolConfig |
createJDBCConnectionPoolConfig(java.lang.String name,
java.lang.String datasourceClassname,
java.util.Map optional)
Create a new <jdbc-connection-pool>. |
JDBCConnectionPoolConfig |
createJDBCConnectionPoolConfig(java.lang.String name,
java.lang.String connectionValidationMethod,
java.lang.String datasourceClassname,
boolean failAllConnections,
int idleTimeoutSeconds,
boolean connectionValidationRequired,
boolean isolationLevelGuaranteed,
java.lang.String transactionIsolationLevel,
int maxPoolSize,
int maxWaitTimeMillis,
int poolResizeQuantity,
java.lang.String resType,
int steadyPoolSize,
java.lang.String databaseName,
java.lang.String databaseUserName,
java.lang.String databasePassword,
java.util.Map reservedForFutureUse)
Create a new <jdbc-connection-pool>. |
JDBCResourceConfig |
createJDBCResourceConfig(java.lang.String jndiName,
java.lang.String poolName,
java.util.Map optional)
Create a new <jdbc-resource> Optional parameters include: ResourceConfigKeys.ENABLED_KEY
|
JMSResourceConfig |
createJMSResourceConfig(java.lang.String jndiName,
java.lang.String poolName,
java.util.Map optional)
Creates a new jms resource. |
JNDIResourceConfig |
createJNDIResourceConfig(java.lang.String jndiName,
java.lang.String jndiLookupName,
java.lang.String resType,
java.lang.String factoryClass,
java.util.Map optional)
Creates a new <external-jndi-resource>. |
LifecycleModuleConfig |
createLifecycleModuleConfig(java.lang.String name,
java.lang.String description,
java.lang.String classname,
java.lang.String classpath,
java.lang.String loadOrder,
boolean isFailureFatal,
boolean enabled,
java.util.Map reserved)
Create a new lifecycle module. |
MailResourceConfig |
createMailResourceConfig(java.lang.String jndiName,
java.lang.String host,
java.lang.String user,
java.lang.String from,
java.util.Map optional)
Create a new <mail-resource>. |
PersistenceManagerFactoryResourceConfig |
createPersistenceManagerFactoryResourceConfig(java.lang.String jndiName,
java.util.Map optional)
Create a new persistence manager factory resource. |
ResourceAdapterConfig |
createResourceAdapterConfig(java.lang.String resourceAdapterName,
java.util.Map optional)
Legal options include: ResourceAdapterConfigKeys.THREAD_POOL_IDS_KEY
|
StandaloneServerConfig |
createStandaloneServerConfig(java.lang.String name,
java.lang.String nodeAgentName,
java.lang.String configName,
java.util.Map optional)
Create a new <server> given an existing config and node-agent. |
java.util.Map |
getAdminObjectResourceConfigMap()
Calls Container.getContaineeMap( XTypes.ADMIN_OBJECT_RESOURCE_CONFIG ). |
java.util.Map |
getAppClientModuleConfigMap()
|
java.lang.String |
getApplicationRoot()
|
java.util.Map |
getClusterConfigMap()
Calls Container.getContaineeMap( XTypes.CLUSTER_CONFIG ). |
java.util.Map |
getClusteredServerConfigMap()
Calls Container.getContaineeMap( XTypes.CLUSTERED_SERVER_CONFIG ). |
java.util.Map |
getConfigConfigMap()
Calls Container.getContaineeMap( XTypes.CONFIG_CONFIG ). |
java.util.Map |
getConnectorConnectionPoolConfigMap()
Calls Container.getContaineeMap( XTypes.CONNECTOR_CONNECTION_POOL_CONFIG ). |
java.util.Map |
getConnectorResourceConfigMap()
Calls Container.getContaineeMap( XTypes.CONNECTOR_RESOURCE_CONFIG ). |
java.util.Map |
getCustomResourceConfigMap()
Calls Container.getContaineeMap( XTypes.CUSTOM_RESOURCE_CONFIG ). |
java.util.Map |
getEJBModuleConfigMap()
|
java.util.Map |
getJ2EEApplicationConfigMap()
|
java.util.Map |
getJDBCConnectionPoolConfigMap()
Calls Container.getContaineeMap( XTypes.JDBC_CONNECTION_POOL_CONFIG ). |
java.util.Map |
getJDBCResourceConfigMap()
Calls Container.getContaineeMap( XTypes.JDBC_RESOURCE_CONFIG ). |
java.util.Map |
getJMSResourceConfigMap()
Calls Container.getContaineeMap( XTypes.JMS_RESOURCE_CONFIG ). |
java.util.Map |
getJNDIResourceConfigMap()
Calls Container.getContaineeMap( XTypes.JNDI_RESOURCE_CONFIG ). |
java.util.Map |
getLifecycleModuleConfigMap()
|
java.lang.String |
getLocale()
|
java.lang.String |
getLogRoot()
|
java.util.Map |
getMailResourceConfigMap()
Calls Container.getContaineeMap( XTypes.MAIL_RESOURCE_CONFIG ). |
java.util.Map |
getNodeAgentConfigMap()
Calls Container.getContaineeMap( XTypes.NODE_AGENT_CONFIG ). |
java.util.Map |
getPersistenceManagerFactoryResourceConfigMap()
Calls Container.getContaineeMap( XTypes.PERSISTENCE_MANAGER_FACTORY_RESOURCE_CONFIG ). |
java.util.Map |
getRARModuleConfigMap()
|
java.util.Map |
getResourceAdapterConfigMap()
Calls Container.getContaineeMap( XTypes.RESOURCE_ADAPTER_CONFIG ). |
ResourceConfig |
getResourceConfig(java.lang.String name)
Get a ResourceConfig of any kind. |
java.util.Map |
getServerConfigMap()
Combines the results of getStandaloneServerConfigMap() and getClusteredServerConfigMap(). |
java.util.Map |
getStandaloneServerConfigMap()
Calls Container.getContaineeMap( XTypes.STANDALONE_SERVER_CONFIG ). |
SystemPropertiesConfig |
getSystemPropertiesConfig()
|
java.util.Map |
getWebModuleConfigMap()
|
void |
removeAdminObjectResourceConfig(java.lang.String jndiName)
Removes an admin object resource. |
void |
removeClusterConfig(java.lang.String name)
Remove an existing <cluster>. |
void |
removeClusteredServerConfig(java.lang.String name)
|
void |
removeConfigConfig(java.lang.String name)
Remove a config. |
void |
removeConnectorConnectionPoolConfig(java.lang.String name)
Removes a connector connection pool. |
void |
removeConnectorResourceConfig(java.lang.String jndiName)
Removes a connector resource. |
void |
removeCustomResourceConfig(java.lang.String name)
Removes a custom resource. |
void |
removeJDBCConnectionPoolConfig(java.lang.String jdbcConnectionPoolName)
Remove the <jdbc-connection-pool>. |
void |
removeJDBCResourceConfig(java.lang.String jndiName)
Removes a jdbc resource. |
void |
removeJMSResourceConfig(java.lang.String jndiName)
Removes a jms resource. |
void |
removeJNDIResourceConfig(java.lang.String jndiName)
Remove the <external-jndi-resource>. |
void |
removeLifecycleModuleConfig(java.lang.String name)
Removes an existing lifecycle module. |
void |
removeMailResourceConfig(java.lang.String jndiName)
Removes a mail resource. |
void |
removePersistenceManagerFactoryResourceConfig(java.lang.String jndiName)
Removes a persistence manager factory resource. |
void |
removeResourceAdapterConfig(java.lang.String resourceAdapterName)
|
void |
removeStandaloneServerConfig(java.lang.String name)
|
void |
setApplicationRoot(java.lang.String value)
|
void |
setLocale(java.lang.String value)
|
void |
setLogRoot(java.lang.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 |
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
getMBeanEmitLogNotifications, getMBeanLoggerName, getMBeanLogLevel, setMBeanEmitLogNotifications, setMBeanLogLevel |
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.Container |
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap |
Field Detail |
public static final java.lang.String J2EE_TYPE
AMX.getJ2EEType()
.
Method Detail |
public SystemPropertiesConfig getSystemPropertiesConfig()
public StandaloneServerConfig createStandaloneServerConfig(java.lang.String name, java.lang.String nodeAgentName, java.lang.String configName, java.util.Map 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:
ServerConfigKeys.HTTP_LISTENER_1_PORT_KEY
a port value for the http listener with name http-listener-1
ServerConfigKeys.HTTP_LISTENER_2_PORT_KEY
a port value for the https listener with name http-listener-2
ServerConfigKeys.ORB_LISTENER_1_PORT_KEY
a port value for the iiop listener with name orb-listener-1
ServerConfigKeys.SSL_PORT_KEY
a port value for the secure iiop listener with name SSL
ServerConfigKeys.SSL_MUTUALAUTH_PORT_KEY
a port value for the ssl-enabled listener supporting
client-auth with name SSL-MUTUALAUTH
ServerConfigKeys.JMX_SYSTEM_CONNECTOR_PORT_KEY
a port value for the JSR160 based JMX system connector with
name JMX_SYSTEM_CONNECTOR
public java.util.Map getNodeAgentConfigMap()
Container.getContaineeMap(java.lang.String)
public java.util.Map getConfigConfigMap()
Container.getContaineeMap(java.lang.String)
public ConfigConfig createConfigConfig(java.lang.String name, java.util.Map optional)
name
- name of the <config>optional
- optional attributes for config creation
ConfigConfigKeys
public void removeConfigConfig(java.lang.String name)
name
- The config name.public java.util.Map getStandaloneServerConfigMap()
Container.getContaineeMap(java.lang.String)
public java.util.Map getClusteredServerConfigMap()
Container.getContaineeMap(java.lang.String)
public void removeStandaloneServerConfig(java.lang.String name)
public void removeClusteredServerConfig(java.lang.String name)
public ClusteredServerConfig createClusteredServerConfig(java.lang.String name, java.lang.String clusterName, java.lang.String nodeAgentName, java.util.Map optional)
name
- Name of the server.nodeAgentName
- Name of the node agent that should manage thisclusterName
- Name of the cluster to which this server should belong.
server's lifecycle.
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
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 keys are:
ServerConfigKeys.HTTP_LISTENER_1_PORT_KEY
a port value for the http listener with name http-listener-1
ServerConfigKeys.HTTP_LISTENER_2_PORT_KEY
a port value for the https listener with name http-listener-2
ServerConfigKeys.ORB_LISTENER_1_PORT_KEY
a port value for the iiop listener with name orb-listener-1
ServerConfigKeys.SSL_PORT_KEY
a port value for the secure iiop listener with name SSL
ServerConfigKeys.SSL_MUTUALAUTH_PORT_KEY
a port value for the ssl-enabled listener supporting
client-auth with name SSL-MUTUALAUTH
ServerConfigKeys.JMX_SYSTEM_CONNECTOR_PORT_KEY
a port value for the JSR160 based JMX system connector with
name JMX_SYSTEM_CONNECTOR
public java.util.Map getServerConfigMap()
Container.getContaineeMap(java.lang.String)
public java.util.Map getClusterConfigMap()
Container.getContaineeMap(java.lang.String)
public ClusterConfig createClusterConfig(java.lang.String name, java.lang.String referencedConfigName, java.util.Map optional)
name
- the name of the cluster to create.referencedConfigName
- the non-null name of the config to reference.optional
- optional values, properties only
public ClusterConfig createClusterConfig(java.lang.String name, java.util.Map optional)
name
- the name of the cluster to create.optional
- optional values, properties only
public void removeClusterConfig(java.lang.String name)
name
- the name of the cluster to remove.public java.lang.String getApplicationRoot()
public void setApplicationRoot(java.lang.String value)
public java.lang.String getLocale()
public void setLocale(java.lang.String value)
public java.lang.String getLogRoot()
public void setLogRoot(java.lang.String value)
public java.util.Map getCustomResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public CustomResourceConfig createCustomResourceConfig(java.lang.String jndiName, java.lang.String resType, java.lang.String factoryClass, java.util.Map optional)
jndiName
- resType
- factoryClass
- optional
- optional Attributes (may be null )
public void removeCustomResourceConfig(java.lang.String name)
name
- The name of the custom resource.public java.util.Map getJNDIResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public JNDIResourceConfig createJNDIResourceConfig(java.lang.String jndiName, java.lang.String jndiLookupName, java.lang.String resType, java.lang.String factoryClass, java.util.Map optional)
jndiName
- jndiLookupName
- resType
- factoryClass
- optional
- optional Attributes (may be null )
public void removeJNDIResourceConfig(java.lang.String jndiName)
jndiName
- The jndi name of the external jndi resource
to be removed.public java.util.Map getPersistenceManagerFactoryResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public PersistenceManagerFactoryResourceConfig createPersistenceManagerFactoryResourceConfig(java.lang.String jndiName, java.util.Map optional)
PersistenceManagerFactoryResourceConfigKeys.FACTORY_CLASS_KEY
PersistenceManagerFactoryResourceConfigKeys.JDBC_RESOURCE_JNDI_NAME_KEY
ResourceConfigKeys.ENABLED_KEY
jndiName
- optional
- optional Attributes (may be null )
PersistenceManagerFactoryResourceConfigKeys
public void removePersistenceManagerFactoryResourceConfig(java.lang.String jndiName)
jndiName
- public java.util.Map getJMSResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public JMSResourceConfig createJMSResourceConfig(java.lang.String jndiName, java.lang.String poolName, java.util.Map optional)
jndiName
- poolName
- optional
- optional Attributes (may be null )
public void removeJMSResourceConfig(java.lang.String jndiName)
jndiName
- public java.util.Map getJDBCResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public JDBCResourceConfig createJDBCResourceConfig(java.lang.String jndiName, java.lang.String poolName, java.util.Map optional)
jndiName
- poolName
- optional
- optional Attributes (may be null )
public void removeJDBCResourceConfig(java.lang.String jndiName)
jndiName
- public java.util.Map getJDBCConnectionPoolConfigMap()
Container.getContaineeMap(java.lang.String)
public JDBCConnectionPoolConfig createJDBCConnectionPoolConfig(java.lang.String name, java.lang.String connectionValidationMethod, java.lang.String datasourceClassname, boolean failAllConnections, int idleTimeoutSeconds, boolean connectionValidationRequired, boolean isolationLevelGuaranteed, java.lang.String transactionIsolationLevel, int maxPoolSize, int maxWaitTimeMillis, int poolResizeQuantity, java.lang.String resType, int steadyPoolSize, java.lang.String databaseName, java.lang.String databaseUserName, java.lang.String databasePassword, java.util.Map 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
public JDBCConnectionPoolConfig createJDBCConnectionPoolConfig(java.lang.String name, java.lang.String datasourceClassname, java.util.Map 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
public void removeJDBCConnectionPoolConfig(java.lang.String jdbcConnectionPoolName)
jdbcConnectionPoolName
- public java.util.Map getConnectorResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public ConnectorResourceConfig createConnectorResourceConfig(java.lang.String jndiName, java.lang.String poolName, java.util.Map optional)
jndiName
- poolName
- optional
- optional parameters (may be null).public void removeConnectorResourceConfig(java.lang.String jndiName)
jndiName
- public java.util.Map getConnectorConnectionPoolConfigMap()
Container.getContaineeMap(java.lang.String)
public ConnectorConnectionPoolConfig createConnectorConnectionPoolConfig(java.lang.String name, java.lang.String resourceAdapterName, java.lang.String connectionDefinitionName, java.util.Map 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
public void removeConnectorConnectionPoolConfig(java.lang.String name)
name
- pool name.public java.util.Map getAdminObjectResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public AdminObjectResourceConfig createAdminObjectResourceConfig(java.lang.String jndiName, java.lang.String resType, java.lang.String resAdapter, java.util.Map optional)
jndiName
- JNDI name of the resource.resType
- resAdapter
- Name of the inbound resource adapter.optional
- optional Attributes (may be null )
public void removeAdminObjectResourceConfig(java.lang.String jndiName)
jndiName
- JNDI name of the resource.public java.util.Map getResourceAdapterConfigMap()
Container.getContaineeMap(java.lang.String)
public ResourceAdapterConfig createResourceAdapterConfig(java.lang.String resourceAdapterName, java.util.Map optional)
public void removeResourceAdapterConfig(java.lang.String resourceAdapterName)
public java.util.Map getMailResourceConfigMap()
Container.getContaineeMap(java.lang.String)
public MailResourceConfig createMailResourceConfig(java.lang.String jndiName, java.lang.String host, java.lang.String user, java.lang.String from, java.util.Map 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
public void removeMailResourceConfig(java.lang.String jndiName)
jndiName
- public java.util.Map getJ2EEApplicationConfigMap()
J2EEApplicationConfig
getEJBModuleConfigMap()
,
getWebModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
public java.util.Map getEJBModuleConfigMap()
EJBModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
public java.util.Map getWebModuleConfigMap()
WebModuleConfig
.getJ2EEApplicationConfigMap()
,
getEJBModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
public java.util.Map getRARModuleConfigMap()
RARModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getEJBModuleConfigMap()
,
getAppClientModuleConfigMap()
,
getLifecycleModuleConfigMap()
public java.util.Map getAppClientModuleConfigMap()
AppClientModuleConfig
.getJ2EEApplicationConfigMap()
,
getWebModuleConfigMap()
,
getEJBModuleConfigMap()
,
getRARModuleConfigMap()
,
getLifecycleModuleConfigMap()
public java.util.Map getLifecycleModuleConfigMap()
LifecycleModuleConfig
.public LifecycleModuleConfig createLifecycleModuleConfig(java.lang.String name, java.lang.String description, java.lang.String classname, java.lang.String classpath, java.lang.String loadOrder, boolean isFailureFatal, boolean enabled, java.util.Map reserved)
name
- the name for the new lifecycle moduledescription
- classname
- the classname associated with this lifecycle moduleclasspath
- loadOrder
- isFailureFatal
- enabled
-
public void removeLifecycleModuleConfig(java.lang.String name)
name
- the name of the lifecycle module to be removed.public ResourceConfig getResourceConfig(java.lang.String name)
name
-
|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.