public void createConnectionFactory(String name)
{
try
{
MBeanServerConnection server = getServer();
server.invoke(namingService, "createAlias", new Object[] { name, "ConnectionFactory" }, new String[] { String.class.getName(), String.class.getName() });
}
catch (Exception e)
{
throw new NestedRuntimeException(e);
}