public javax.management.ObjectName | create(java.lang.String name, java.lang.String address, int port, java.lang.String defaultVirtualServer, java.lang.String serverName, java.util.Map options)
final String[] requiredParams =
{
HTTPListenerConfigKeys.ADDRESS_KEY, address,
HTTPListenerConfigKeys.PORT_KEY, "" + port,
HTTPListenerConfigKeys.DEFAULT_VIRTUAL_SERVER_KEY, defaultVirtualServer,
HTTPListenerConfigKeys.SERVER_NAME_KEY, serverName,
};
if ( requireValidReferences( options ) )
{
checkVirtualServerExists( defaultVirtualServer );
}
final Map<String,String> params = initParams( name, requiredParams, options );
final ObjectName amxName = createNamedChild( name, params );
return( amxName );
|