Methods Summary |
---|
public AdminObjectResourceConfig | createAdminObjectResourceConfig(java.lang.String jndiName, java.lang.String resType, java.lang.String resAdapter, java.util.Map optional)Creates a new <admin-object-resource>.
- {@link ResourceConfigKeys#ENABLED_KEY}
|
public ClusterConfig | createClusterConfig(java.lang.String name, java.lang.String referencedConfigName, java.util.Map optional)Create a new ClusterConfig. The 'referencedConfigName' must be non-null
and must not be "default-config" or "server-config". If it is desired
to create a new ClusterConfig which uses a copy of default-config,
use the createClusterConfig( name, reserved ) form.
|
public ClusterConfig | createClusterConfig(java.lang.String name, java.util.Map optional)Create a new ClusterConfig which refers to a copy of the default-config.
|
public 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.
|
public ConfigConfig | createConfigConfig(java.lang.String name, java.util.Map optional)Create a new <config> element. Legal keys in the optional Map include:
- {@link ConfigConfigKeys#DYNAMIC_RECONFIGURATION_ENABLED_KEY}
- {@link ConfigConfigKeys#SRC_CONFIG_NAME_KEY}
A new config is created by copying an existing one. Unless a specific
config is specified via {@link ConfigConfigKeys#SRC_CONFIG_NAME_KEY},
the default config as given by {@link 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.
|
public 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:
- {@link ConnectorConnectionPoolConfigKeys#STEADY_POOL_SIZE_KEY}
- {@link ConnectorConnectionPoolConfigKeys#MAX_POOL_SIZE_KEY}
- {@link ConnectorConnectionPoolConfigKeys#MAX_WAIT_TIME_IN_MILLIS_KEY}
- {@link ConnectorConnectionPoolConfigKeys#POOL_RESIZE_QUANTITY_KEY}
- {@link ConnectorConnectionPoolConfigKeys#IDLE_TIMEOUT_IN_SECONDS_KEY}
- {@link ConnectorConnectionPoolConfigKeys#FAIL_ALL_CONNECTIONS_KEY}
- {@link ConnectorConnectionPoolConfigKeys#TRANSACTION_SUPPORT_KEY}
- {@link ConnectorConnectionPoolConfigKeys #TRANSACTION_SUPPORT_KEY}
|
public 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
|
public CustomMBeanConfig | createCustomMBeanConfig(java.lang.String name, java.lang.String implClassname, java.lang.String objectName, boolean enabled, java.util.Map reserved)Create a new {@link 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 {@link PropertiesAccess} for details.
See {@link CustomMBeanConfig} for details on valid values
for the 'objectNameProperties' parameter, and for details on
the ObjectName with which the MBean will be registered.
Questions
|
public CustomResourceConfig | createCustomResourceConfig(java.lang.String jndiName, java.lang.String resType, java.lang.String factoryClass, java.util.Map optional)Creates a new custom resource.
- {@link ResourceConfigKeys#ENABLED_KEY}
|
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)Create a new <jdbc-connection-pool>.
|
public JDBCConnectionPoolConfig | createJDBCConnectionPoolConfig(java.lang.String name, java.lang.String datasourceClassname, java.util.Map optional)Create a new <jdbc-connection-pool>. Legal optional attributes include:
- {@link JDBCConnectionPoolConfigKeys#CONNECTION_VALIDATION_METHOD_KEY}
- {@link JDBCConnectionPoolConfigKeys#VALIDATION_TABLE_NAME_KEY}
- {@link JDBCConnectionPoolConfigKeys#FAIL_ALL_CONNECTIONS_KEY}
- {@link JDBCConnectionPoolConfigKeys#IDLE_TIMEOUT_IN_SECONDS_KEY}
- {@link JDBCConnectionPoolConfigKeys#IS_CONNECTION_VALIDATION_REQUIRED_KEY}
- {@link JDBCConnectionPoolConfigKeys#IS_ISOLATION_LEVEL_GUARANTEED_KEY}
- {@link JDBCConnectionPoolConfigKeys#TRANSACTION_ISOLATION_LEVEL_KEY}
- {@link JDBCConnectionPoolConfigKeys#MAX_POOL_SIZE_KEY}
- {@link JDBCConnectionPoolConfigKeys#MAX_WAIT_TIME_MILLIS_KEY}
- {@link JDBCConnectionPoolConfigKeys#POOL_RESIZE_QUANTITY_KEY}
- {@link JDBCConnectionPoolConfigKeys#RES_TYPE_KEY}
- {@link JDBCConnectionPoolConfigKeys#STEADY_POOL_SIZE_KEY}
- {@link JDBCConnectionPoolConfigKeys#DATABASE_NAME_KEY}
- {@link JDBCConnectionPoolConfigKeys#DATABASE_USER_KEY}
- {@link JDBCConnectionPoolConfigKeys#DATABASE_PASSWORD_KEY}
|
public JDBCResourceConfig | createJDBCResourceConfig(java.lang.String jndiName, java.lang.String poolName, java.util.Map optional)Create a new <jdbc-resource> Optional parameters include:
- {@link ResourceConfigKeys#ENABLED_KEY}
|
public 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>. Optional values include:
- {@link ResourceConfigKeys#ENABLED_KEY}
|
public LBConfig | createLBConfig(java.lang.String name, java.util.Map params)Creates a new lb-config. Legal options include:
- {@link LBConfigKeys#RESPONSE_TIMEOUT_IN_SECONDS_KEY}
- {@link LBConfigKeys#HTTPS_ROUTING_KEY}
- {@link LBConfigKeys#RELOAD_POLL_INTERVAL_IN_SECONDS_KEY}
- {@link LBConfigKeys#MONITORING_ENABLED_KEY}
- {@link LBConfigKeys#ROUTE_COOKIE_ENABLED_KEY}
|
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)Create a new lifecycle module. A Lifecycle Module must
implement the interface
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.
|
public LoadBalancerConfig | createLoadBalancerConfig(java.lang.String name, java.lang.String lbConfigName, boolean autoApplyEnabled, java.util.Map optional)Create a new LoadBalancer. The 'lbConfigName' and 'name' must be non-null.
|
public 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>. Optional keys are:
- {@link MailResourceConfigKeys#STORE_PROTOCOL_KEY}
- {@link MailResourceConfigKeys#STORE_PROTOCOL_CLASS_KEY}
- {@link MailResourceConfigKeys#TRANSPORT_PROTOCOL_KEY}
- {@link MailResourceConfigKeys#TRANSPORT_PROTOCOL_CLASS_KEY}
- {@link MailResourceConfigKeys#DEBUG_KEY}
|
public PersistenceManagerFactoryResourceConfig | createPersistenceManagerFactoryResourceConfig(java.lang.String jndiName, java.util.Map optional)Create a new persistence manager factory resource. Optional values include:
- {@link PersistenceManagerFactoryResourceConfigKeys#FACTORY_CLASS_KEY}
- {@link PersistenceManagerFactoryResourceConfigKeys#JDBC_RESOURCE_JNDI_NAME_KEY}
- {@link ResourceConfigKeys#ENABLED_KEY}
|
public ResourceAdapterConfig | createResourceAdapterConfig(java.lang.String resourceAdapterName, java.util.Map optional)Legal options include:
- {@link ResourceAdapterConfigKeys#THREAD_POOL_IDS_KEY}
|
public 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.
These are required parameters for the server instance to be created.
|
public java.util.Map | getAdminObjectResourceConfigMap()Calls Container.getContaineeMap( XTypes.ADMIN_OBJECT_RESOURCE_CONFIG ).
|
public java.util.Map | getAppClientModuleConfigMap()
|
public java.lang.String | getApplicationRoot()
|
public java.util.Map | getClusterConfigMap()Calls Container.getContaineeMap( XTypes.CLUSTER_CONFIG ).
|
public java.util.Map | getClusteredServerConfigMap()Calls Container.getContaineeMap( XTypes.CLUSTERED_SERVER_CONFIG ).
|
public java.util.Map | getConfigConfigMap()Calls Container.getContaineeMap( XTypes.CONFIG_CONFIG ).
|
public java.util.Map | getConnectorConnectionPoolConfigMap()Calls Container.getContaineeMap( XTypes.CONNECTOR_CONNECTION_POOL_CONFIG ).
|
public java.util.Map | getConnectorModuleConfigMap()
|
public java.util.Map | getConnectorResourceConfigMap()Calls Container.getContaineeMap( XTypes.CONNECTOR_RESOURCE_CONFIG ).
|
public java.util.Map | getCustomMBeanConfigMap()
|
public java.util.Map | getCustomResourceConfigMap()Calls Container.getContaineeMap( XTypes.CUSTOM_RESOURCE_CONFIG ).
|
public java.util.Map | getDefaultAttributeValues(java.lang.String j2eeType)
|
public java.util.Map | getEJBModuleConfigMap()
|
public java.util.Map | getJ2EEApplicationConfigMap()
|
public java.util.Map | getJDBCConnectionPoolConfigMap()Calls Container.getContaineeMap( XTypes.JDBC_CONNECTION_POOL_CONFIG ).
|
public java.util.Map | getJDBCResourceConfigMap()Calls Container.getContaineeMap( XTypes.JDBC_RESOURCE_CONFIG ).
|
public java.util.Map | getJNDIResourceConfigMap()Calls Container.getContaineeMap( XTypes.JNDI_RESOURCE_CONFIG ).
|
public java.util.Map | getLBConfigMap()Calls Container.getContaineeMap( XTypes.LB_CONFIG ).
|
public java.util.Map | getLifecycleModuleConfigMap()
|
public java.util.Map | getLoadBalancerConfigMap()Calls Container.getContaineeMap( XTypes.LOAD_BALANCER_CONFIG).
|
public java.lang.String | getLocale()
|
public java.lang.String | getLogRoot()
|
public java.util.Map | getMailResourceConfigMap()Calls Container.getContaineeMap( XTypes.MAIL_RESOURCE_CONFIG ).
|
public java.util.Map | getNodeAgentConfigMap()Calls Container.getContaineeMap( XTypes.NODE_AGENT_CONFIG ).
|
public java.util.Map | getPersistenceManagerFactoryResourceConfigMap()Calls Container.getContaineeMap( XTypes.PERSISTENCE_MANAGER_FACTORY_RESOURCE_CONFIG ).
|
public java.util.Map | getRARModuleConfigMap()
|
public java.util.Map | getResourceAdapterConfigMap()Calls Container.getContaineeMap( XTypes.RESOURCE_ADAPTER_CONFIG ).
|
public ResourceConfig | getResourceConfig(java.lang.String name)Get a ResourceConfig of any kind.
|
public java.util.Map | getServerConfigMap()Combines the results of getStandaloneServerConfigMap() and
getClusteredServerConfigMap().
|
public java.util.Map | getStandaloneServerConfigMap()Calls Container.getContaineeMap( XTypes.STANDALONE_SERVER_CONFIG ).
|
public java.util.Map | getWebModuleConfigMap()
|
public void | removeAdminObjectResourceConfig(java.lang.String jndiName)Removes an admin object resource.
|
public void | removeClusterConfig(java.lang.String name)Remove an existing <cluster>.
|
public void | removeClusteredServerConfig(java.lang.String name)
|
public void | removeConfigConfig(java.lang.String name)Remove a config. This will fail if any or
refers to it.
|
public void | removeConnectorConnectionPoolConfig(java.lang.String name)Removes a connector connection pool.
|
public void | removeConnectorResourceConfig(java.lang.String jndiName)Removes a connector resource.
|
public void | removeCustomMBeanConfig(java.lang.String name)Remove a CustomMBeanConfig. All references to it are also removed.
Questions
- Are running MBeans first stopped?
|
public void | removeCustomResourceConfig(java.lang.String name)Removes a custom resource.
|
public void | removeJDBCConnectionPoolConfig(java.lang.String jdbcConnectionPoolName)Remove the <jdbc-connection-pool>.
|
public void | removeJDBCResourceConfig(java.lang.String jndiName)Removes a jdbc resource.
|
public void | removeJNDIResourceConfig(java.lang.String jndiName)Remove the <external-jndi-resource>.
|
public void | removeLBConfig(java.lang.String name)Removes a lb-config.
|
public void | removeLifecycleModuleConfig(java.lang.String name)Removes an existing lifecycle module.
|
public void | removeLoadBalancerConfig(java.lang.String name)Remove an existing <LoadBalancerConfig>.
|
public void | removeMailResourceConfig(java.lang.String jndiName)Removes a mail resource.
|
public void | removePersistenceManagerFactoryResourceConfig(java.lang.String jndiName)Removes a persistence manager factory resource.
|
public void | removeResourceAdapterConfig(java.lang.String resourceAdapterName)
|
public void | removeStandaloneServerConfig(java.lang.String name)
|
public void | setApplicationRoot(java.lang.String value)
|
public void | setLocale(java.lang.String value)
|
public void | setLogRoot(java.lang.String value)
|