if ( ( ntpServerBean == null ) || ntpServerBean.isDisabled() )
{
return null;
}
NtpServer ntpServer = new NtpServer();
// The service ID
ntpServer.setServiceId( ntpServerBean.getServerId() );
// The transports
Transport[] transports = createTransports( ntpServerBean.getTransports() );
ntpServer.setTransports( transports );
return ntpServer;
}