Methods Summary |
---|
private void | checkResourceAdapterExists(java.lang.String resourceAdapterName)
/*
I can't get solid information on what the requirements are for
pre-existing items. Removing this check. Lloyd Chambers 5/31/07
final DomainConfig domainConfig = getDomainRoot().getDomainConfig();
final Map<String,ConnectorModuleConfig> connectorModules =
getDomainRoot().getDomainConfig().getConnectorModuleConfigMap();
if ( ! connectorModules.containsKey(resourceAdapterName) )
{
throw new IllegalArgumentException(
"No ResourceAdapterConfig or " +
"ConnectorModuleConfig exists with the name: " +
resourceAdapterName );
}
*/
|
public javax.management.ObjectName | create(java.lang.String name, java.lang.String resourceAdapterName, java.lang.String connectionDefinitionName, java.util.Map options)
final String[] requiredParams = new String[]
{
RESOURCE_ADAPTER_NAME_KEY, resourceAdapterName,
CONNECTION_DEFINITION_NAME_KEY, connectionDefinitionName,
};
if ( requireValidReferences( options ) )
{
checkResourceAdapterExists( resourceAdapterName );
}
final Map<String,String> params = initParams( name, requiredParams, options );
final ObjectName amxName = createNamedChild( name, params );
return( amxName );
|
protected javax.management.ObjectName | createOldChildConfig(javax.management.AttributeList translatedAttrs)The caller is responsible for dealing with any Properties.
return( getOldResourcesMBean().createConnectorConnectionPool( translatedAttrs ) );
|
protected java.util.Set | getLegalOptionalCreateKeys()
return( LEGAL_OPTIONAL_KEYS );
|
protected void | removeByName(java.lang.String name)
getOldResourcesMBean().removeConnectorConnectionPoolByName( name );
|